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 Object
- implements Relation
relates
public List<Relate> relates
getRelationTypeFamily
public abstract RelationTypeFamily getRelationTypeFamily()
- Specified by:
getRelationTypeFamily
in interface Relation
getRelate
public Relate getRelate(Integer position)
- Specified by:
getRelate
in interface Relation
hash
public String hash()
- Specified by:
hash
in interface Relation
toString
public String toString()
- Overrides:
toString
in class 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 List<Relate> getRelates()
- Specified by:
getRelates
in interface Relation
setRelates
public void setRelates(List<Relate> relates)
Copyright © 2011 Nuxeo SAS. All Rights Reserved.