|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.oracle.webservices.api.message.BasePropertySet
com.sun.xml.ws.api.PropertySet
public abstract class PropertySet
Placeholder for backwards compatibility.
| Nested Class Summary | |
|---|---|
protected static class |
PropertySet.PropertyMap
Deprecated. |
| Nested classes/interfaces inherited from class com.oracle.webservices.api.message.BasePropertySet |
|---|
BasePropertySet.Accessor, BasePropertySet.PropertyMapEntry |
| Nested classes/interfaces inherited from interface com.oracle.webservices.api.message.PropertySet |
|---|
PropertySet.Property |
| Constructor Summary | |
|---|---|
PropertySet()
Deprecated. |
|
| Method Summary | |
|---|---|
protected void |
createEntrySet(Set<Map.Entry<String,Object>> core)
Deprecated. |
Object |
get(Object key)
Deprecated. Gets the name of the property. |
protected abstract PropertySet.PropertyMap |
getPropertyMap()
Deprecated. Map representing the Fields and Methods annotated with PropertySet.Property. |
protected static PropertySet.PropertyMap |
parse(Class clazz)
Deprecated. |
Object |
put(String key,
Object value)
Deprecated. Sets a property. |
Object |
remove(Object key)
Deprecated. |
boolean |
supports(Object key)
Deprecated. Checks if this PropertySet supports a property of the given name. |
| Methods inherited from class com.oracle.webservices.api.message.BasePropertySet |
|---|
asMap, containsKey, createMapView, createView, mapAllowsAdditionalProperties |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PropertySet()
| Method Detail |
|---|
protected static PropertySet.PropertyMap parse(Class clazz)
public Object get(Object key)
get in interface PropertySetget in class BasePropertySetkey - This field is typed as Object to follow the HashMap.get(Object)
convention, but if anything but String is passed, this method
just returns null.
public Object put(String key,
Object value)
put in interface PropertySetput in class BasePropertySetReadOnlyPropertyException - if the given key is an alias of a strongly-typed field,
and if the name object given is not assignable to the field.Propertypublic boolean supports(Object key)
BasePropertySetPropertySet supports a property of the given name.
supports in interface PropertySetsupports in class BasePropertySetpublic Object remove(Object key)
remove in interface PropertySetremove in class BasePropertySetprotected void createEntrySet(Set<Map.Entry<String,Object>> core)
createEntrySet in class BasePropertySetprotected abstract PropertySet.PropertyMap getPropertyMap()
BasePropertySetPropertySet.Property.
Model of PropertySet class.
At the end of the derivation chain this method just needs to be implemented as:
private static final PropertyMap model;
static {
model = parse(MyDerivedClass.class);
}
protected PropertyMap getPropertyMap() {
return model;
}
getPropertyMap in class BasePropertySet
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||