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) |
protected String id
protected int revision
protected String name
protected String type
public GroupEntity()
public GroupEntity(String id)
public Object getPersistentState()
PersistentObjectgetPersistentState in interface PersistentObjectpublic int getRevisionNext()
getRevisionNext in interface HasRevisionpublic String getId()
getId in interface GroupgetId in interface PersistentObjectpublic void setId(String id)
setId in interface GroupsetId in interface PersistentObjectpublic int getRevision()
getRevision in interface HasRevisionpublic void setRevision(int revision)
setRevision in interface HasRevisionCopyright © 2016 Alfresco. All rights reserved.