wt.rule.init
Class AttributeValues

java.lang.Object
  extended bywt.rule.init.AttributeValues
All Implemented Interfaces:
InitRuleElem, Serializable

public class AttributeValues
extends Object
implements InitRuleElem, Serializable



Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private  Map attrValues
          This specification's attribute values.
private static String CLASSNAME
           
private  String objType
           
private static String RESOURCE
           
 
Constructor Summary
AttributeValues(String objType)
          Create an attribute values specification for the specified object ype.
 
Method Summary
(package private)  void addAttrValue(AttrValue attrValue)
          Add an attribute value to this specification.
 Object clone()
          Creates and returns a copy of this object.
 AttributeValues copy()
          Creates and returns a copy of this object.
 boolean equals(Object obj)
          

Supported API: false
 AttrValue getAttrValue(String id)
          Gets the attribute value specification for the attribute with the spcified identifier.
 Collection getAttrValues()
          Gets this specification's attribute values.
 String getObjType()
          Gets the value of the attribute: objType; The objType of this attribute values specification.
(package private)  AttrValue removeAttrValue(String id)
          Remove the attribute value with the specified id.
 void setObjType(String a_ObjType)
          Sets the value of the attribute: objType; The objType of this attribute values specification.
 String toString()
           
 void writeXML(Writer writer)
          Write the XML for this specification to the specified Writer.
 
Methods inherited from class java.lang.Object
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

objType

private String objType

attrValues

private final Map attrValues
This specification's attribute values.

Constructor Detail

AttributeValues

public AttributeValues(String objType)
Create an attribute values specification for the specified object ype.

Supported API: false

Parameters:
objType - the object type of this attribute values specification
Method Detail

getObjType

public String getObjType()
Gets the value of the attribute: objType; The objType of this attribute values specification. The attribute values specified are appropriate to objects of this type.

Supported API: false

Specified by:
getObjType in interface InitRuleElem
Returns:
String

setObjType

public void setObjType(String a_ObjType)
Sets the value of the attribute: objType; The objType of this attribute values specification. The attribute values specified are appropriate to objects of this type.

Supported API: false

Parameters:
a_ObjType -

addAttrValue

final void addAttrValue(AttrValue attrValue)
Add an attribute value to this specification.

Supported API: false

Parameters:
attrValue -

removeAttrValue

final AttrValue removeAttrValue(String id)
Remove the attribute value with the specified id. Return the AttrValue if one existed. Otherwise, return null.

Supported API: false

Parameters:
id -
Returns:
AttrValue

getAttrValue

public final AttrValue getAttrValue(String id)
Gets the attribute value specification for the attribute with the spcified identifier. Returns null if no such attribute value specification exists.

Supported API: false

Parameters:
id -
Returns:
AttrValue

getAttrValues

public final Collection getAttrValues()
Gets this specification's attribute values.

Supported API: false

Returns:
Collection

equals

public boolean equals(Object obj)


Supported API: false

Parameters:
obj -
Returns:
boolean

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

copy

public AttributeValues copy()
Creates and returns a copy of this object.

Supported API: false

Returns:
AttributeValues

clone

public Object clone()
Creates and returns a copy of this object.

Supported API: false

Returns:
Object

toString

public String toString()