Package openllet.core.boxes.abox
Class Literal
- java.lang.Object
-
- openllet.core.boxes.abox.Node
-
- openllet.core.boxes.abox.Literal
-
public class Literal extends Node
- Author:
- Evren Sirin
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAllTypes(java.util.Map<openllet.aterm.ATermAppl,DependencySet> types, DependencySet ds)
void
addType(openllet.aterm.ATermAppl c, DependencySet d)
void
clearMergeToConstant()
Node
copyTo(ABoxImpl abox)
DependencySet
getDifferenceDependency(Node node)
java.lang.String
getLang()
java.lang.String
getLexicalValue()
NodeMerge
getMergeToConstant()
DependencySet
getNodeDepends()
int
getNominalLevel()
Literal
getSame()
openllet.aterm.ATermAppl
getTerm()
java.lang.Object
getValue()
boolean
hasSuccessor(Node x)
boolean
hasType(openllet.aterm.ATerm typeParam)
boolean
isBlockable()
boolean
isDifferent(Node node)
boolean
isIndividual()
boolean
isLeaf()
boolean
isLiteral()
boolean
isNominal()
void
prune(DependencySet ds)
void
reportClash(Clash clash)
boolean
restore(int branch)
void
unprune(int branch)
-
Methods inherited from class openllet.core.boxes.abox.Node
equals, getABox, getAllMerged, getDepends, getDepends, getDifferents, getInEdges, getMerged, getMergeDependency, getMergedTo, getName, getNameStr, getPath, getPruned, getTypes, hashCode, hasObviousType, hasObviousType, inheritDifferents, isBnode, isConceptRoot, isMerged, isNamedIndividual, isPruned, isRoot, isRootNominal, isSame, removeInEdge, removeType, reset, restorePruned, setChanged, setConceptRoot, setDifferent, setSame, toString, types, undoSetSame
-
-
-
-
Constructor Detail
-
Literal
public Literal(openllet.aterm.ATermAppl name, openllet.aterm.ATermAppl term, ABox abox, DependencySet ds)
-
-
Method Detail
-
getNodeDepends
public DependencySet getNodeDepends()
- Specified by:
getNodeDepends
in classNode
-
getNominalLevel
public int getNominalLevel()
- Specified by:
getNominalLevel
in classNode
-
isBlockable
public boolean isBlockable()
- Specified by:
isBlockable
in classNode
-
isIndividual
public boolean isIndividual()
- Specified by:
isIndividual
in classNode
-
isDifferent
public boolean isDifferent(Node node)
- Overrides:
isDifferent
in classNode
-
getDifferenceDependency
public DependencySet getDifferenceDependency(Node node)
- Overrides:
getDifferenceDependency
in classNode
-
addType
public void addType(openllet.aterm.ATermAppl c, DependencySet d)
-
addAllTypes
public void addAllTypes(java.util.Map<openllet.aterm.ATermAppl,DependencySet> types, DependencySet ds)
-
hasSuccessor
public boolean hasSuccessor(Node x)
- Specified by:
hasSuccessor
in classNode
-
getLang
public java.lang.String getLang()
-
getLexicalValue
public java.lang.String getLexicalValue()
-
reportClash
public void reportClash(Clash clash)
-
getValue
public java.lang.Object getValue()
-
prune
public final void prune(DependencySet ds)
-
getMergeToConstant
public NodeMerge getMergeToConstant()
-
clearMergeToConstant
public void clearMergeToConstant()
-
-