|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.polito.elite.ontology.NodeTypeAbstraction
it.polito.elite.ontology.NodeTypeOWL
public class NodeTypeOWL
Field Summary | |
---|---|
private int |
cardinality
|
private NodeTypeOWL |
filler
|
private java.lang.String |
onProperty
|
private java.util.HashSet<NodeTypeOWL> |
operands
|
private java.lang.String |
resourceName
|
Fields inherited from class it.polito.elite.ontology.NodeTypeAbstraction |
---|
isEnumeration, isLogicalClass, isRestriction, type |
Constructor Summary | |
---|---|
protected |
NodeTypeOWL()
|
|
NodeTypeOWL(edu.stanford.smi.protegex.owl.model.RDFObject resource)
|
Method Summary | |
---|---|
int |
getCardinality()
Retrieves the cardinality of the restriction if type is Cardinality (base, min o max) |
java.util.HashSet<NodeTypeAbstraction> |
getEnumerationSet()
Retrieves the set of NodeTypeAbstraction in a OneOf enumeration |
java.util.HashSet<NodeTypeAbstraction> |
getLogicSet()
Retrieves the set of NodeTypeAbstraction forming the union logical class or the intersection. |
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 |
java.lang.String |
getRestrictionPropertyURI()
Retrieves the URI of the property restriction is on |
static NodeTypeAbstraction |
parseExpression(NodeTypesEnum t,
java.lang.String expression)
|
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 it.polito.elite.ontology.NodeTypeAbstraction |
---|
equals, getType, hashCode, isEnumeration, isLogicalClass, isRestriction |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private int cardinality
private NodeTypeOWL filler
private java.lang.String onProperty
private java.util.HashSet<NodeTypeOWL> operands
private java.lang.String resourceName
Constructor Detail |
---|
protected NodeTypeOWL()
public NodeTypeOWL(edu.stanford.smi.protegex.owl.model.RDFObject resource)
Method Detail |
---|
public int getCardinality()
NodeTypeAbstraction
getCardinality
in class NodeTypeAbstraction
public java.util.HashSet<NodeTypeAbstraction> getEnumerationSet()
NodeTypeAbstraction
getEnumerationSet
in class NodeTypeAbstraction
public java.util.HashSet<NodeTypeAbstraction> getLogicSet()
NodeTypeAbstraction
getLogicSet
in class NodeTypeAbstraction
public NodeTypeAbstraction getRestrictionFiller()
NodeTypeAbstraction
getRestrictionFiller
in class NodeTypeAbstraction
public java.lang.String getRestrictionPropertyURI()
NodeTypeAbstraction
getRestrictionPropertyURI
in class NodeTypeAbstraction
public static NodeTypeAbstraction parseExpression(NodeTypesEnum t, java.lang.String expression)
public java.lang.String toString()
NodeTypeAbstraction
toString
in class NodeTypeAbstraction
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |