|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.polito.elite.ontology.NodeTypeAbstraction
public abstract class NodeTypeAbstraction
Field Summary | |
---|---|
protected boolean |
isEnumeration
|
protected boolean |
isLogicalClass
|
protected boolean |
isRestriction
|
protected NodeTypesEnum |
type
|
Constructor Summary | |
---|---|
NodeTypeAbstraction()
|
Method Summary | |
---|---|
boolean |
equals(NodeTypeAbstraction t)
Base Comparison |
abstract int |
getCardinality()
Retrieves the cardinality of the restriction if type is Cardinality (base, min o max) |
abstract java.util.HashSet<NodeTypeAbstraction> |
getEnumerationSet()
Retrieves the set of NodeTypeAbstraction in a OneOf enumeration |
abstract java.util.HashSet<NodeTypeAbstraction> |
getLogicSet()
Retrieves the set of NodeTypeAbstraction forming the union logical class or the intersection. |
abstract NodeTypeAbstraction |
getRestrictionFiller()
Retrieves the NodeTypeAbstraction filler of the restrictions, if it is a HAS_VALUE or Qualified Cardinality or a SOME / ALL values TO restrictions |
abstract java.lang.String |
getRestrictionPropertyURI()
Retrieves the URI of the property restriction is on |
NodeTypesEnum |
getType()
|
int |
hashCode()
|
boolean |
isEnumeration()
|
boolean |
isLogicalClass()
|
boolean |
isRestriction()
|
abstract java.lang.String |
toString()
Represents the node stored in the internal model of the subclass with a textual expression, an example format could be: UnionOf( ConceptA, ComplementOf(ConceptB),..) - OneOf(InstA, InstB) with the pourpose to be displayed on Screen |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected boolean isEnumeration
protected boolean isLogicalClass
protected boolean isRestriction
protected NodeTypesEnum type
Constructor Detail |
---|
public NodeTypeAbstraction()
Method Detail |
---|
public boolean equals(NodeTypeAbstraction t)
t
- a NodeTypeAbstraction
public abstract int getCardinality()
public abstract java.util.HashSet<NodeTypeAbstraction> getEnumerationSet()
public abstract java.util.HashSet<NodeTypeAbstraction> getLogicSet()
public abstract NodeTypeAbstraction getRestrictionFiller()
public abstract java.lang.String getRestrictionPropertyURI()
public NodeTypesEnum getType()
public int hashCode()
hashCode
in class java.lang.Object
public boolean isEnumeration()
public boolean isLogicalClass()
public boolean isRestriction()
public abstract java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |