|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectabsurdist.RelationModel
Class RelationModel is the model for a particular type of relation, including specifications on its inherent properties.
| Field Summary | |
boolean |
directed
Whether the relation is directed. |
java.lang.String |
label
Identifier of this RelationModel. |
| Constructor Summary | |
RelationModel()
Constructor for a default relation model. |
|
RelationModel(java.lang.String label,
boolean directed)
Constructs a relation model of the specified label and direction feature. |
|
| Method Summary | |
int |
compareTo(RelationModel model)
Compares the ordering between this model and the specified one, according to their label. |
java.lang.String |
toString()
Returns a string representation of this relation model |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public java.lang.String label
public boolean directed
| Constructor Detail |
public RelationModel()
public RelationModel(java.lang.String label,
boolean directed)
| Method Detail |
public int compareTo(RelationModel model)
public java.lang.String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||