org.mindswap.pellet
Class Literal

java.lang.Object
  extended by org.mindswap.pellet.Node
      extended by org.mindswap.pellet.Literal

public class Literal
extends Node

Author:
Evren Sirin

Field Summary
 
Fields inherited from class org.mindswap.pellet.Node
ALL, ALLFUT, ALLPAST, AT, ATOM, BLOCKABLE, CHANGED, DEBUG, FUT, MAX, MIN, NOM, NOMINAL, OR, PAST, SOME, SOMEFUT, SOMEPAST, TYPES, UNCHANGED
 
Constructor Summary
Literal(aterm.ATermAppl name, aterm.ATermAppl term, ABox abox)
           
Literal(Literal literal, ABox abox)
           
 
Method Summary
 void addAllTypes(java.util.Map types, DependencySet ds)
           
 void addType(aterm.ATermAppl c, DependencySet d)
           
 Node copyTo(ABox abox)
           
 java.lang.String debugString()
           
 Datatype getDatatype()
           
 java.lang.String getDatatypeURI()
           
 DependencySet getDifferenceDependency(Node node)
           
 java.lang.String getLang()
           
 java.lang.String getLexicalValue()
           
 int getNominalLevel()
           
 aterm.ATermAppl getTerm()
           
 java.lang.Object getValue()
           
 boolean hasSuccessor(Node x)
           
 boolean hasType(aterm.ATerm type)
           
 boolean isBlockable()
           
 boolean isDifferent(Node node)
           
 boolean isIndividual()
           
 boolean isLeaf()
           
 boolean isLiteral()
           
 boolean isNominal()
           
 void prune(DependencySet ds)
           
 java.lang.String toString()
           
 java.lang.String toTypedString()
           
 void unprune(int branch)
           
 
Methods inherited from class org.mindswap.pellet.Node
addType, copy, equals, getABox, getDepends, getDepends, getDifferents, getInEdges, getMergeDependency, getMergedTo, getName, getNameStr, getOntology, getParent, getPath, getPredecessors, getPruned, getSame, getTypes, hasObviousType, hasObviousType, inheritDifferents, isBnode, isChanged, isChanged, isConceptRoot, isMerged, isNamedIndividual, isPruned, isRoot, isRootNominal, isSame, mergedAt, prunedAt, removeInEdge, removeInEdges, removeType, removeTypes, restore, setChanged, setChanged, setConceptRoot, setDifferent, setOntology, setSame, undoSetSame
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Literal

public Literal(aterm.ATermAppl name,
               aterm.ATermAppl term,
               ABox abox)

Literal

public Literal(Literal literal,
               ABox abox)
Method Detail

copyTo

public Node copyTo(ABox abox)
Specified by:
copyTo in class Node

isLeaf

public final boolean isLeaf()
Specified by:
isLeaf in class Node

getNominalLevel

public int getNominalLevel()
Specified by:
getNominalLevel in class Node

isNominal

public boolean isNominal()
Specified by:
isNominal in class Node

isBlockable

public boolean isBlockable()
Specified by:
isBlockable in class Node

isLiteral

public boolean isLiteral()
Specified by:
isLiteral in class Node

isIndividual

public boolean isIndividual()
Specified by:
isIndividual in class Node

isDifferent

public boolean isDifferent(Node node)
Overrides:
isDifferent in class Node

hasType

public boolean hasType(aterm.ATerm type)
Overrides:
hasType in class Node

getDifferenceDependency

public DependencySet getDifferenceDependency(Node node)
Overrides:
getDifferenceDependency in class Node

addType

public void addType(aterm.ATermAppl c,
                    DependencySet d)
Overrides:
addType in class Node

addAllTypes

public void addAllTypes(java.util.Map types,
                        DependencySet ds)

hasSuccessor

public boolean hasSuccessor(Node x)
Specified by:
hasSuccessor in class Node

getDatatype

public Datatype getDatatype()

getTerm

public aterm.ATermAppl getTerm()
Specified by:
getTerm in class Node

getDatatypeURI

public java.lang.String getDatatypeURI()

getLang

public java.lang.String getLang()

getLexicalValue

public java.lang.String getLexicalValue()

getValue

public java.lang.Object getValue()

toTypedString

public java.lang.String toTypedString()

prune

public final void prune(DependencySet ds)
Specified by:
prune in class Node

unprune

public void unprune(int branch)
Overrides:
unprune in class Node

toString

public java.lang.String toString()
Overrides:
toString in class Node

debugString

public java.lang.String debugString()


Copyright © 2007-2009 Natalya Keberle. All Rights Reserved.