org.jvnet.ws.message
Class BasePropertySet

java.lang.Object
  extended by com.oracle.webservices.api.message.BasePropertySet
      extended by org.jvnet.ws.message.BasePropertySet
All Implemented Interfaces:
PropertySet

Deprecated.

@Deprecated
public abstract class BasePropertySet
extends BasePropertySet
implements PropertySet

A set of "properties" that can be accessed via strongly-typed fields as well as reflexibly through the property name.

Author:
Kohsuke Kawaguchi

Nested Class Summary
protected static class BasePropertySet.PropertyMap
          Deprecated. Represents the list of strongly-typed known properties (keyed by property names.)
 
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
protected BasePropertySet()
          Deprecated. Creates a new instance of TypedMap.
 
Method Summary
protected abstract  BasePropertySet.PropertyMap getPropertyMap()
          Deprecated. Map representing the Fields and Methods annotated with PropertySet.Property.
protected static BasePropertySet.PropertyMap parse(Class clazz)
          Deprecated. This method parses a class for fields and methods with PropertySet.Property.
 
Methods inherited from class com.oracle.webservices.api.message.BasePropertySet
asMap, containsKey, createEntrySet, createMapView, createView, get, mapAllowsAdditionalProperties, put, remove, supports
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.oracle.webservices.api.message.PropertySet
asMap, containsKey, createMapView, get, put, remove, supports
 

Constructor Detail

BasePropertySet

protected BasePropertySet()
Deprecated. 
Creates a new instance of TypedMap.

Method Detail

getPropertyMap

protected abstract BasePropertySet.PropertyMap getPropertyMap()
Deprecated. 
Map representing the Fields and Methods annotated with PropertySet.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;
 }
 

Specified by:
getPropertyMap in class BasePropertySet

parse

protected static BasePropertySet.PropertyMap parse(Class clazz)
Deprecated. 
This method parses a class for fields and methods with PropertySet.Property.



Copyright © 2005-2012 Oracle Corporation. All Rights Reserved.