|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.org.StandardAttributeHolder
Standard implementation of the attribute holding behavior. Hash map
implementation of the attribute holding behavior.
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
Deprecated. |
static long |
EXTERNALIZATION_VERSION_UID
Deprecated. |
private com.objectspace.jgl.HashMap |
map
Deprecated. |
protected static long |
OLD_FORMAT_VERSION_UID
Deprecated. |
private static String |
RESOURCE
Deprecated. |
(package private) static long |
serialVersionUID
Deprecated. |
Constructor Summary | |
StandardAttributeHolder()
Deprecated. |
Method Summary | |
void |
addValue(String attr_name,
Object value)
Deprecated. |
Enumeration |
getAttrNames()
Deprecated. |
com.objectspace.jgl.HashMap |
getMap()
Deprecated. |
Object |
getSingleValue(String attr_name)
Deprecated. |
Enumeration |
getValues(String attr_name)
Deprecated. |
private void |
mapValidate(com.objectspace.jgl.HashMap a_Map)
Deprecated. |
void |
readExternal(ObjectInput input)
Deprecated. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Deprecated. Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(StandardAttributeHolder thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Deprecated. |
void |
removeAttribute(String attr_name)
Deprecated. |
void |
removeValue(String attr_name,
Object value)
Deprecated. |
void |
replaceValue(String attr_name,
Object value)
Deprecated. |
void |
setMap(com.objectspace.jgl.HashMap a_Map)
Deprecated. |
void |
setValue(String attr_name,
Object value)
Deprecated. |
private int |
sizeEnumeration(Enumeration e)
Deprecated. |
String |
toString()
Deprecated. |
void |
writeExternal(ObjectOutput output)
Deprecated. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private com.objectspace.jgl.HashMap map
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
Constructor Detail |
public StandardAttributeHolder()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
input
-
IOException
ClassNotFoundException
protected boolean readVersion(StandardAttributeHolder thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public com.objectspace.jgl.HashMap getMap()
public void setMap(com.objectspace.jgl.HashMap a_Map) throws WTPropertyVetoException
a_Map
-
WTPropertyVetoException
private void mapValidate(com.objectspace.jgl.HashMap a_Map) throws WTPropertyVetoException
a_Map
-
WTPropertyVetoException
public Enumeration getValues(String attr_name)
getValues
in interface AttributeHolder
attr_name
-
public Object getSingleValue(String attr_name)
getSingleValue
in interface AttributeHolder
attr_name
-
public Enumeration getAttrNames()
getAttrNames
in interface AttributeHolder
public void addValue(String attr_name, Object value)
addValue
in interface AttributeHolder
attr_name
- value
- public void setValue(String attr_name, Object value)
setValue
in interface AttributeHolder
attr_name
- value
- public void replaceValue(String attr_name, Object value)
replaceValue
in interface AttributeHolder
attr_name
- value
- public void removeValue(String attr_name, Object value)
removeValue
in interface AttributeHolder
attr_name
- value
- public void removeAttribute(String attr_name)
removeAttribute
in interface AttributeHolder
attr_name
- public String toString()
toString
in interface AttributeHolder
private int sizeEnumeration(Enumeration e)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |