wt.rule.init
Class Value

java.lang.Object
  extended bywt.rule.init.AbstractAlgoValue
      extended bywt.rule.init.Value
All Implemented Interfaces:
AlgoValue, InitRuleElem, Serializable

public class Value
extends AbstractAlgoValue
implements Serializable



Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
private  AlgoValue parent
           
private static String RESOURCE
           
 
Fields inherited from class wt.rule.init.AbstractAlgoValue
algorithm, args
 
Fields inherited from interface wt.rule.init.AlgoValue
ALGORITHM, ARGS
 
Constructor Summary
Value(AlgoValue parent, String algorithm)
          Create a new value using the specified parameters.
 
Method Summary
 Value copyTo(AlgoValue copyParent)
          Copy this Value to another AlgoValue specification.
 String getObjType()
          Return the objType that this value belongs to.
(package private)  AlgoValue getParent()
          Gets the value of the attribute: parent; the parent specification of this value

Supported API: false
(package private)  void setParent(AlgoValue a_Parent)
          Sets the value of the attribute: parent; the parent specification of this value

Supported API: false
 void writeXML(Writer writer)
          Write the XML for this specification to the specified Writer.
 
Methods inherited from class wt.rule.init.AbstractAlgoValue
addArg, addArg, addArg, copyArgsTo, equals, equals, getAlgorithm, getArg, getArgs, removeArg, setArg, toString, writeArgs
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

parent

private AlgoValue parent
Constructor Detail

Value

public Value(AlgoValue parent,
             String algorithm)
Create a new value using the specified parameters.

Supported API: false

Parameters:
parent - the specification that this value belongs to
algorithm - the algorithm that is used to compute the attribute's value
Method Detail

getParent

AlgoValue getParent()
Gets the value of the attribute: parent; the parent specification of this value

Supported API: false

Returns:
AlgoValue

setParent

void setParent(AlgoValue a_Parent)
Sets the value of the attribute: parent; the parent specification of this value

Supported API: false

Parameters:
a_Parent -

getObjType

public String getObjType()
Return the objType that this value belongs to.

Supported API: false

Specified by:
getObjType in interface InitRuleElem
Returns:
String

copyTo

public Value copyTo(AlgoValue copyParent)
Copy this Value to another AlgoValue specification. Return the newly created copy.

Supported API: false

Parameters:
copyParent - the parent to copy to
Returns:
Value

writeXML

public void writeXML(Writer writer)
              throws IOException
Write the XML for this specification to the specified Writer.

Supported API: false

Specified by:
writeXML in interface InitRuleElem
Parameters:
writer -
Throws:
IOException