public class GroupEntity extends Object implements Group, Serializable, PersistentObject, HasRevision
Modifier and Type | Field and Description |
---|---|
protected String |
id |
protected String |
name |
protected int |
revision |
protected String |
type |
Constructor and Description |
---|
GroupEntity() |
GroupEntity(String id) |
Modifier and Type | Method and Description |
---|---|
String |
getId() |
String |
getName() |
Object |
getPersistentState()
Returns a representation of the object,
as would be stored in the database.
|
int |
getRevision() |
int |
getRevisionNext() |
String |
getType() |
void |
setId(String id) |
void |
setName(String name) |
void |
setRevision(int revision) |
void |
setType(String type) |
String |
toString() |
protected String id
protected int revision
protected String name
protected String type
public GroupEntity()
public GroupEntity(String id)
public Object getPersistentState()
PersistentObject
getPersistentState
in interface PersistentObject
public int getRevisionNext()
getRevisionNext
in interface HasRevision
public String getId()
getId
in interface Group
getId
in interface PersistentObject
public void setId(String id)
setId
in interface Group
setId
in interface PersistentObject
public int getRevision()
getRevision
in interface HasRevision
public void setRevision(int revision)
setRevision
in interface HasRevision
Copyright © 2015. All rights reserved.