Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.theme.relations
Class AbstractRelation

java.lang.Object
  extended by org.nuxeo.theme.relations.AbstractRelation
All Implemented Interfaces:
Relation
Direct Known Subclasses:
DyadicRelation, MonadicRelation, TriadicRelation

public abstract class AbstractRelation
extends Object
implements Relation


Field Summary
 List<Relate> relates
           
 
Method Summary
 Predicate getPredicate()
           
 Relate getRelate(Integer position)
           
 List<Relate> getRelates()
           
abstract  RelationTypeFamily getRelationTypeFamily()
           
 String hash()
           
 boolean hasPredicate(Predicate predicate)
           
 void setPredicate(Predicate predicate)
           
 void setRelates(List<Relate> relates)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

relates

public List<Relate> relates
Method Detail

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)

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.