org.nuxeo.theme.relations
Class AbstractRelation
java.lang.Object
org.nuxeo.theme.relations.AbstractRelation
- All Implemented Interfaces:
- Relation
- Direct Known Subclasses:
- DyadicRelation, MonadicRelation, TriadicRelation
public abstract class AbstractRelation
- extends java.lang.Object
- implements Relation
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
relates
public java.util.List<Relate> relates
getRelationTypeFamily
public abstract RelationTypeFamily getRelationTypeFamily()
- Specified by:
getRelationTypeFamily
in interface Relation
getRelate
public Relate getRelate(java.lang.Integer position)
- Specified by:
getRelate
in interface Relation
hash
public java.lang.String hash()
- Specified by:
hash
in interface Relation
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getPredicate
public Predicate getPredicate()
setPredicate
public final void setPredicate(Predicate predicate)
hasPredicate
public boolean hasPredicate(Predicate predicate)
- Specified by:
hasPredicate
in interface Relation
getRelates
public java.util.List<Relate> getRelates()
- Specified by:
getRelates
in interface Relation
setRelates
public void setRelates(java.util.List<Relate> relates)
Copyright © 2010 Nuxeo SAS. All Rights Reserved.