|
Extension SDK 10.1.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This class can be used by objects that need to manage a dynamic set of properties.
Method Summary | |
java.util.Map |
getProperties()
Retrieves a map holding the property-value pairs. |
java.lang.Object |
getProperty(java.lang.String key)
Retrieves the value associated with a property. |
java.lang.Object |
getProperty(java.lang.String key,
java.lang.Object defaultValue)
Retrieves the value associated with a property. |
void |
setProperties(java.util.Map properties)
Sets the map holding the property-value pairs. |
void |
setProperty(java.lang.String key,
java.lang.Object value)
Sets the value for a property. |
Methods inherited from interface oracle.ide.util.Copyable |
copyTo |
Method Detail |
public java.lang.Object getProperty(java.lang.String key)
key
- the property key for which a value is desired.
exists.
null
value
if the property does not exist or is not set.public java.lang.Object getProperty(java.lang.String key, java.lang.Object defaultValue)
key
- the property key for which a value is desired.defaultValue
- the value to return if no value currently
exists.
public void setProperty(java.lang.String key, java.lang.Object value)
null
removes that property.
key
- the property key to setvalue
- the value to setpublic java.util.Map getProperties()
public void setProperties(java.util.Map properties)
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.