|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.griphyn.vdl.Chimera
org.griphyn.vdl.classes.VDL
org.griphyn.vdl.classes.Value
public abstract class Value
This class is the base class for Scalar and List
child classes.
| Field Summary | |
|---|---|
static int |
LIST
Denotes a list component. |
private String |
m_name
Deprecated. This is the name for a value element. Originally we thought to employ this value, but it is currently unused. |
static int |
SCALAR
Denotes a scalar component, which is always a leaf. |
| Constructor Summary | |
|---|---|
Value()
Default ctor. |
|
| Method Summary | |
|---|---|
abstract Object |
clone()
Creates and returns a copy of this object. |
abstract boolean |
containsLFN(String filename,
int linkage)
Determines if the Value contains an LFN of the specified linkage. |
abstract List |
getAllLFN(int linkage)
Determines all LFN instances of a given scalar that match the specified linkage. |
abstract int |
getContainerType()
This method determines which container is being used in the abstract base class in order to avoid typeof constructs. |
abstract List |
getLFNList(int linkage)
Determines all LFN instances of a given scalar that match the specified linkage. |
String |
getName()
Deprecated. the attribute is currently unused. |
abstract String |
getSymbolicType()
This method determines which container is being used in the abstract base class in order to kludgy statements when printing debug info. |
static boolean |
isInRange(int x)
Predicate function to determine, if a container type is within the legal range of values. |
void |
setName(String name)
Deprecated. the name attribute is currently unused. |
| Methods inherited from class org.griphyn.vdl.Chimera |
|---|
escape, quote, toString, toString, toXML, toXML, toXML, writeAttribute |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private String m_name
public static final int SCALAR
getContainerType(),
Scalar.getContainerType(),
Constant Field Valuespublic static final int LIST
getContainerType(),
List.getContainerType(),
Constant Field Values| Constructor Detail |
|---|
public Value()
| Method Detail |
|---|
public abstract int getContainerType()
typeof constructs.
Scalar, or
a constant to designate a List.SCALAR,
LISTpublic abstract String getSymbolicType()
public abstract Object clone()
clone in class Objectpublic abstract List getAllLFN(int linkage)
linkage - is the linkage to check for, -1 for all filenames.
LFNpublic abstract List getLFNList(int linkage)
linkage - is the linkage to check for, -1 for all filenames.
Derivation.getLFNList( int ),
LFN
public abstract boolean containsLFN(String filename,
int linkage)
filename - is the name of the LFNlinkage - is the linkage to check for, -1 for any linkage type.
LFN,
Derivation.containsLFN( String, int )public static boolean isInRange(int x)
x - is the container type
SCALAR,
LISTpublic String getName()
setName(String)public void setName(String name)
name - is the new value to overwrite the current state with.getName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||