public class RelationRows<T> extends Object
Modifier and Type | Field and Description |
---|---|
protected long |
id |
Constructor and Description |
---|
RelationRows(T holder) |
Modifier and Type | Method and Description |
---|---|
T |
getHolder() |
List<Relationship> |
getHoldRelations() |
long |
getId() |
String |
getName() |
boolean |
hasRelation() |
void |
holdRelation(Relationship relation) |
void |
setHasRelation(boolean hasRelation) |
protected long id
public RelationRows(T holder)
public long getId()
public void holdRelation(Relationship relation)
public List<Relationship> getHoldRelations()
public boolean hasRelation()
public void setHasRelation(boolean hasRelation)