public class TypeListType extends BaseType implements RuleBasedRelationType
BaseType.Role
Modifier and Type | Field and Description |
---|---|
private boolean |
individual |
(package private) List<BaseType> |
list |
Constructor and Description |
---|
TypeListType(List<BaseType> list) |
Modifier and Type | Method and Description |
---|---|
Set<Type> |
extendedRelation(Relation relation) |
private void |
extendedRelation(Relation relation,
Set<Type> ret,
List<BaseType> prefix,
int index) |
boolean |
extendedRelation(Relation relation,
Type other) |
String |
getName() |
Ontology |
getOntology() |
String |
getRelativeName(Ontology ont) |
String |
getUnqualifiedName() |
boolean |
isIndividual()
return true iff this object is marked as an individual
|
boolean |
overrides(Relation relation) |
compareTo, compareTo, equals, getRoles, insertRelationTo, insertRelationTo, relatedFrom, relatedFrom, relatedFrom, relatedTo, relatedTo, relatedTo, removeRelationTo, resetMark, toString, toStringNonIsa, toStringParent, toStringWithIsaChildren
public String getName()
getName
in interface OntologyEntity
getName
in class BaseType
public String getRelativeName(Ontology ont)
getRelativeName
in class BaseType
public Ontology getOntology()
getOntology
in interface OntologyEntity
getOntology
in class BaseType
public Set<Type> extendedRelation(Relation relation)
extendedRelation
in interface RuleBasedRelationType
relation
- private void extendedRelation(Relation relation, Set<Type> ret, List<BaseType> prefix, int index)
relation
- the relation we're working on (should be already veted as appropriate by extendedRelation(Relation)
)ret
- the accumulated return list of related elementsprefix
- the prefix (base) of the elements we should add (may be empty)index
- the index we are working on herepublic boolean extendedRelation(Relation relation, Type other)
extendedRelation
in interface RuleBasedRelationType
relation
- other
- public boolean overrides(Relation relation)
overrides
in interface RuleBasedRelationType
public String getUnqualifiedName()
getUnqualifiedName
in class BaseType
public boolean isIndividual()
Type
isIndividual
in interface Type