|
Holger's Java API |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EntryRelationship
represents a relationship between two DBEntry instances.
A relationship consists of two references that are linked by a
specified type that defines that relationship.
A relationship is generally immutable in regards to its references,
its type of relation and its bidirectional property.
The only property that may be mutable within this interface is the comment.
| Field Summary |
|---|
| Fields inherited from interface com.antelmann.db.DBEntry |
|---|
ENTRY_FLAVOR, ENTRY_LIST_FLAVOR |
| Method Summary | |
|---|---|
String |
getComment()
specifies a comment for this relationship |
DBReference |
getFromReference()
represents the first entry of this relationship |
Object |
getRelationOption()
optionally allows to specify an option along with this relationship |
Object |
getRelationType()
defines the kind of relationship |
DBReference |
getToReference()
represents the second entry of this relationship |
boolean |
isBidirectional()
determines whether this relationship also applies when swapping to- and fromReference |
| Methods inherited from interface com.antelmann.db.DBEntry |
|---|
getID |
| Methods inherited from interface com.antelmann.util.LifeCycleObject |
|---|
getBeginTime, getEndTime |
| Method Detail |
|---|
DBReference getFromReference()
DBReference getToReference()
Object getRelationType()
Object getRelationOption()
String getComment()
boolean isBidirectional()
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||