|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.rule.init.Attr
An attribute value that is an argument to an algorithm.
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
String |
id
The identifier of this attribute. |
private AlgoValue |
parent
|
private static String |
RESOURCE
|
Constructor Summary | |
Attr(AlgoValue parent,
String id)
Create an attribute that is an argument to the specified parent specification's algorithm. |
Method Summary | |
Attr |
copyTo(AlgoValue copyParent)
Copy this Attr to another AlgoValue specification. |
boolean |
equals(Object obj)
Supported API: false |
private static boolean |
equals(Object o1,
Object o2)
Return true if both objects are null or
o1.equals(o2) is true. |
String |
getId()
Gets the value of the attribute: id; The identifier of this attribute. |
String |
getObjType()
Return the objType that this attribute belongs to. |
(package private) AlgoValue |
getParent()
Gets the value of the attribute: parent; the parent specification of this attribute Supported API: false |
(package private) void |
setParent(AlgoValue a_Parent)
Sets the value of the attribute: parent; the parent specification of this attribute Supported API: false |
String |
toString()
|
void |
writeXML(Writer writer)
Write the XML for this specification to the specified Writer . |
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
private AlgoValue parent
Constructor Detail |
public Attr(AlgoValue parent, String id)
parent
- the parent specification of this attributeid
- teh identifier of this attributeMethod Detail |
public final String getId()
AlgoValue getParent()
void setParent(AlgoValue a_Parent)
a_Parent
- public String getObjType()
objType
that this attribute belongs to.
getObjType
in interface InitRuleElem
public Attr copyTo(AlgoValue copyParent)
Attr
to another AlgoValue
specification.
Return the newly created copy.
copyParent
- the parent to copy to
public boolean equals(Object obj)
obj
-
public void writeXML(Writer writer) throws IOException
Writer
.
writeXML
in interface InitRuleElem
writer
-
IOException
public String toString()
private static boolean equals(Object o1, Object o2)
null
or
o1.equals(o2)
is true.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |