Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.mindswap.pellet
Class Literal

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

    public class Literal

extends Node

Author:
  Evren Sirin

Field Summary

Fields inherited from class org.mindswap.pellet.Node
`ALL, ATOM, BLOCKABLE, CHANGED, DEBUG, log, MAX, MIN, NOM, NOMINAL, OR, SOME, TYPES, UNCHANGED`

Constructor Summary
`Literal(aterm.ATermAppl name, aterm.ATermAppl term, ABox abox)`
`Literal(aterm.ATermAppl name, aterm.ATermAppl term, ABox abox, DependencySet ds)`
`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()`
`Literal` | `getSame()`
`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
`copy, getABox, getDepends, getDepends, getDifferents, getInEdges, getMergeDependency, getMergedTo, getName, getNameStr, getParent, getPath, getPredecessors, getPruned, 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, setSame, undoSetSame`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### Literal

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

### Literal

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

### 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()

### getSame

    public final Literal getSame()

  Overrides:
    `getSame` in class `Node`

### 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()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004 Evren Sirin. All Rights Reserved.