com.sun.grid.jgdi.configuration.reflect
Class DefaultMapPropertyDescriptor

java.lang.Object
  extended by com.sun.grid.jgdi.configuration.reflect.PropertyDescriptor
      extended by com.sun.grid.jgdi.configuration.reflect.MapPropertyDescriptor
          extended by com.sun.grid.jgdi.configuration.reflect.DefaultMapPropertyDescriptor

public class DefaultMapPropertyDescriptor
extends MapPropertyDescriptor


Constructor Summary
protected DefaultMapPropertyDescriptor(java.lang.Class beanClass, java.lang.String propertyName, java.lang.Class propertyType, java.lang.String cullType, java.lang.Class keyType, int cullFieldName, int keyCullFieldName, int valueCullFieldName, java.lang.Object defaultKey, boolean readOnly, boolean configurable)
          Creates a new instance of DefaultMapPropertyDescriptor
 
Method Summary
 void clone(java.lang.Object srcBean, java.lang.Object targetBean)
           
 java.lang.Object get(java.lang.Object bean, java.lang.Object key)
           
 int getCount(java.lang.Object bean)
           
 java.util.Set<java.lang.String> getKeys(java.lang.Object bean)
           
 boolean isBrowsable()
          Getter for property browsable.
 void put(java.lang.Object bean, java.lang.Object key, java.lang.Object value)
           
 java.lang.Object remove(java.lang.Object bean, java.lang.Object key)
           
 void removeAll(java.lang.Object bean)
           
 
Methods inherited from class com.sun.grid.jgdi.configuration.reflect.MapPropertyDescriptor
getDefaultKey, getKeyCullFieldName, getKeyType, getValueCullFieldName, toString
 
Methods inherited from class com.sun.grid.jgdi.configuration.reflect.PropertyDescriptor
equals, findMethod, findMethod, getBeanClass, getCullContentField, getCullFieldName, getCullType, getJNIPropertyType, getPropertyName, getPropertyType, hasCullWrapper, hashCode, invoke, isConfigurable, isReadOnly, isSet, setBrowsable, setConfigurable, setCullContentField, setHasCullWrapper, setReadOnly
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultMapPropertyDescriptor

protected DefaultMapPropertyDescriptor(java.lang.Class beanClass,
                                       java.lang.String propertyName,
                                       java.lang.Class propertyType,
                                       java.lang.String cullType,
                                       java.lang.Class keyType,
                                       int cullFieldName,
                                       int keyCullFieldName,
                                       int valueCullFieldName,
                                       java.lang.Object defaultKey,
                                       boolean readOnly,
                                       boolean configurable)
Creates a new instance of DefaultMapPropertyDescriptor

Method Detail

clone

public void clone(java.lang.Object srcBean,
                  java.lang.Object targetBean)
Specified by:
clone in class PropertyDescriptor

get

public java.lang.Object get(java.lang.Object bean,
                            java.lang.Object key)
Specified by:
get in class MapPropertyDescriptor

getCount

public int getCount(java.lang.Object bean)
Specified by:
getCount in class MapPropertyDescriptor

getKeys

public java.util.Set<java.lang.String> getKeys(java.lang.Object bean)
Specified by:
getKeys in class MapPropertyDescriptor

isBrowsable

public boolean isBrowsable()
Description copied from class: PropertyDescriptor
Getter for property browsable.

Overrides:
isBrowsable in class PropertyDescriptor
Returns:
Value of property browsable.

remove

public java.lang.Object remove(java.lang.Object bean,
                               java.lang.Object key)
Specified by:
remove in class MapPropertyDescriptor

removeAll

public void removeAll(java.lang.Object bean)
Specified by:
removeAll in class MapPropertyDescriptor

put

public void put(java.lang.Object bean,
                java.lang.Object key,
                java.lang.Object value)
Specified by:
put in class MapPropertyDescriptor


Copyright © 2007 Sun Microsystems, Inc. All rights reserved.