public class RelationInfo
extends java.lang.Object
| Constructor and Description |
|---|
RelationInfo(java.lang.String id,
Relation relation,
AbstractBound bound,
TupleType type) |
| Modifier and Type | Method and Description |
|---|---|
AbstractBound |
getBound() |
java.lang.String |
getId() |
Relation |
getRelation() |
TupleType |
getTupleType() |
boolean |
isVariable() |
void |
setBound(Bounds bounds)
Use the abstract bound of the relation to add a bound to the bounds of a
concrete Kodkod solver call.
|
java.lang.String |
toString() |
public RelationInfo(java.lang.String id,
Relation relation,
AbstractBound bound,
TupleType type)
public java.lang.String getId()
nullpublic Relation getRelation()
nullpublic AbstractBound getBound()
nullAbstractBoundpublic boolean isVariable()
true iff the relation is a variable, this is exactly
the case if its bound is exactpublic TupleType getTupleType()
null, all
elements are not null.public void setBound(Bounds bounds)
bounds - public java.lang.String toString()
toString in class java.lang.Object