public abstract class AbstractRelation extends Object implements Relation
Modifier | Constructor and Description |
---|---|
protected |
AbstractRelation(Predicate predicate) |
Modifier and Type | Method and Description |
---|---|
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() |
protected AbstractRelation(Predicate predicate)
public abstract RelationTypeFamily getRelationTypeFamily()
getRelationTypeFamily
in interface Relation
public Predicate getPredicate()
public final void setPredicate(Predicate predicate)
public boolean hasPredicate(Predicate predicate)
hasPredicate
in interface Relation
public List<Relate> getRelates()
getRelates
in interface Relation
public void setRelates(List<Relate> relates)
Copyright © 2016 Nuxeo SA. All rights reserved.