|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.rule.init.AbstractAlgoValue
wt.rule.init.AttrValue
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
boolean |
finalAttr
If true, then ignore any values specified for this attribute when this specification is merged with another specification. |
boolean |
force
Apply this attribute value to an object even if a value has already been specified for the attribute. |
String |
id
The identifier of this attribute. |
boolean |
ignore
If true, then ignore any values specified for this attribute when merging this specification with another specification. |
private AttributeValues |
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 | |
AttrValue(AttributeValues parent,
String id,
String algorithm,
boolean ignore,
boolean force,
boolean finalAttr)
Create a new attribute value using the specified parameters. |
Method Summary | |
AttrValue |
copyTo(AttributeValues copyParent)
Copy this AttrValue to another AttributeValues
specification. |
boolean |
equals(Object obj)
Supported API: false |
String |
getId()
Gets the value of the attribute: id; The identifier of this attribute. |
String |
getObjType()
Return the objType that this attribute value belongs
to. |
(package private) AttributeValues |
getParent()
Gets the value of the attribute: parent; The attribute values specification that this belongs to. |
boolean |
isFinal()
If true, then ignore any values specified for this attribute when this specification is merged with another specific. |
boolean |
isForce()
Gets the value of the attribute: force; Apply this attribute value to an object even if a value has already been specified for the attribute. |
boolean |
isIgnore()
Gets the value of the attribute: ignore; If true, then ignore any values specified for this attribute when merging this specification with another specification. |
void |
moveTo(AttributeValues newParent)
Move this attribute value to another AttributeValues
specification. |
(package private) void |
setParent(AttributeValues a_Parent)
Sets the value of the attribute: parent; The attribute values specification that this belongs to. |
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, 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 |
private static final String RESOURCE
private static final String CLASSNAME
public final String id
public final boolean ignore
public final boolean force
public final boolean finalAttr
private AttributeValues parent
Constructor Detail |
public AttrValue(AttributeValues parent, String id, String algorithm, boolean ignore, boolean force, boolean finalAttr)
parent
- the specification that this attribute value belongs toid
- the identifier of the attributealgorithm
- the algorithm that is used to compute the attribute's valueignore
- whether the value specification for this attribute should be ignoredforce
- finalAttr
- Method Detail |
public final String getId()
public final boolean isIgnore()
public final boolean isForce()
AttributeValues getParent()
void setParent(AttributeValues a_Parent)
a_Parent
- public boolean isFinal()
public String getObjType()
objType
that this attribute value belongs
to.
getObjType
in interface InitRuleElem
public void moveTo(AttributeValues newParent)
AttributeValues
specification.
newParent
- public AttrValue copyTo(AttributeValues copyParent)
AttrValue
to another AttributeValues
specification. Return the newly created copy.
copyParent
- the parent to copy to
public boolean equals(Object obj)
equals
in class AbstractAlgoValue
obj
-
public void writeXML(Writer writer) throws IOException
Writer
.
writeXML
in interface InitRuleElem
writer
-
IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |