JTP API Documentation

jtp.classifier
Class Resource

java.lang.Object
  |
  +--jtp.classifier.Resource
All Implemented Interfaces:
Comparable
Direct Known Subclasses:
Modifier, Relation

public class Resource
extends Object
implements Comparable


Nested Class Summary
static class Resource.ResourceComparator
           
 
Field Summary
protected static int _ALL_BITS_ON
           
static Resource _BOTTOM
          Empty class that is child of all classes/concepts
static Resource _CARD
           
static Resource _CARDQ
           
static Resource _GEN
           
static Resource _MA
           
static Resource _MAX_CARD
           
static Resource _MAX_CARDQ
           
static Resource _MAX_FP
           
static Resource _MAX_RESOURCE
           
static Resource _ME
           
static Resource _MI
           
static Resource _MIN_CARD
           
static Resource _MIN_CARDQ
           
static Resource _MIN_FP
           
static Resource _MIN_RESOURCE
           
static Resource _MR
           
protected static long[] _nCurrentMarkID
           
protected static int[] _nDefaultPattern
           
protected  long[] _nMarkID
           
protected  int[] _nMarkPattern
           
protected static int _NUM_MARKER_SETS
           
static Resource _TOP
          Parent of all classes/concepts
 
Method Summary
protected  void addMark(int pattern, int marker_set)
           
protected static void ClearMarks(int marker_set)
           
 int compareTo(Object o)
           
protected  boolean containsMark(int pattern, int marker_set)
           
 boolean equals(Object obj)
           
 Collection getAliases()
           
static Set GetAllResources()
           
 int getID()
           
protected  int getMark(int marker_set)
           
 int hashCode()
           
 void printDef(PrintStream ps, boolean print_all)
           
protected  void remapID(int ID)
           
protected static void SetDefaultMark(int pattern, int marker_set)
           
protected  void setMark(int pattern, int marker_set)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

_ALL_BITS_ON

protected static final int _ALL_BITS_ON
See Also:
Constant Field Values

_MIN_RESOURCE

public static final Resource _MIN_RESOURCE

_MAX_RESOURCE

public static final Resource _MAX_RESOURCE

_TOP

public static Resource _TOP
Parent of all classes/concepts


_BOTTOM

public static Resource _BOTTOM
Empty class that is child of all classes/concepts


_GEN

public static Resource _GEN

_ME

public static Resource _ME

_MA

public static Resource _MA

_MR

public static Resource _MR

_MI

public static Resource _MI

_CARD

public static Resource _CARD

_MIN_CARD

public static Resource _MIN_CARD

_MAX_CARD

public static Resource _MAX_CARD

_CARDQ

public static Resource _CARDQ

_MIN_CARDQ

public static Resource _MIN_CARDQ

_MAX_CARDQ

public static Resource _MAX_CARDQ

_MIN_FP

public static Resource _MIN_FP

_MAX_FP

public static Resource _MAX_FP

_nMarkID

protected long[] _nMarkID

_nMarkPattern

protected int[] _nMarkPattern

_NUM_MARKER_SETS

protected static final int _NUM_MARKER_SETS
See Also:
Constant Field Values

_nCurrentMarkID

protected static long[] _nCurrentMarkID

_nDefaultPattern

protected static int[] _nDefaultPattern
Method Detail

getAliases

public Collection getAliases()

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getID

public int getID()

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

compareTo

public int compareTo(Object o)
Specified by:
compareTo in interface Comparable

remapID

protected void remapID(int ID)

ClearMarks

protected static void ClearMarks(int marker_set)

SetDefaultMark

protected static void SetDefaultMark(int pattern,
                                     int marker_set)

setMark

protected void setMark(int pattern,
                       int marker_set)

addMark

protected void addMark(int pattern,
                       int marker_set)

getMark

protected int getMark(int marker_set)

containsMark

protected boolean containsMark(int pattern,
                               int marker_set)

printDef

public void printDef(PrintStream ps,
                     boolean print_all)

GetAllResources

public static Set GetAllResources()

JTP API Documentation