public class GroupEntity extends Object implements Group, Serializable, DbEntity, HasDbRevision
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()
DbEntity
getPersistentState
in interface DbEntity
public int getRevisionNext()
getRevisionNext
in interface HasDbRevision
public String getId()
public void setId(String id)
public int getRevision()
getRevision
in interface HasDbRevision
public void setRevision(int revision)
setRevision
in interface HasDbRevision
Copyright © 2021. All rights reserved.