org.jboss.beans.metadata.plugins
Class AbstractPropertiesMetaData

java.lang.Object
  extended by org.jboss.util.JBossObject
      extended by org.jboss.beans.metadata.plugins.AbstractValueMetaData
          extended by org.jboss.beans.metadata.plugins.AbstractTypeMetaData
              extended by org.jboss.beans.metadata.plugins.AbstractMapMetaData
                  extended by org.jboss.beans.metadata.plugins.AbstractPropertiesMetaData
All Implemented Interfaces:
Serializable, Cloneable, Map<MetaDataVisitorNode,MetaDataVisitorNode>, TypeProvider, MetaDataVisitorNode, ValueMetaData, org.jboss.util.JBossInterface

public class AbstractPropertiesMetaData
extends AbstractMapMetaData

Properties metadata.

Author:
Ales Justin
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Field Summary
 
Fields inherited from class org.jboss.beans.metadata.plugins.AbstractMapMetaData
keyType, valueType
 
Fields inherited from class org.jboss.beans.metadata.plugins.AbstractTypeMetaData
beanName, configurator, context, propertyName, type
 
Fields inherited from class org.jboss.util.JBossObject
hashCode, log, toString
 
Fields inherited from interface org.jboss.beans.metadata.plugins.TypeProvider
ERROR_MSG
 
Constructor Summary
AbstractPropertiesMetaData()
           
 
Method Summary
 AbstractPropertiesMetaData clone()
          Clone the object
protected  Object getDefaultInstance()
          Create the default map instance
protected  Class<? extends Map> getExpectedClass()
           
 String getKeyType()
          Get the key type
 String getValueType()
          Get the value type
 void setKeyType(String keyType)
          Set the key type
 void setValueType(String valueType)
          Set the value type
 
Methods inherited from class org.jboss.beans.metadata.plugins.AbstractMapMetaData
clear, containsKey, containsValue, entrySet, get, getChildren, getKeyClassInfo, getType, getValue, getValueClassInfo, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class org.jboss.beans.metadata.plugins.AbstractTypeMetaData
checkResult, createInstance, getClass, getClassInfo, getClassInfo, getType, getTypeInfo, getTypeInfo, getTypeInstance, getTypeInstance, initialVisit, preinstantiatedLookup, preparePreinstantiatedLookup, setConfigurator, setType, toString
 
Methods inherited from class org.jboss.beans.metadata.plugins.AbstractValueMetaData
describeVisit, getUnderlyingValue, getValue, isUseJMXObjectNameFix, setValue, toShortString
 
Methods inherited from class org.jboss.util.JBossObject
cacheGetHashCode, cacheToString, equals, flushJBossObjectCache, getClassShortName, getHashCode, hashCode, list, notEqual, toShortString, toString, toStringImplementation
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 
Methods inherited from interface org.jboss.util.JBossInterface
toShortString
 

Constructor Detail

AbstractPropertiesMetaData

public AbstractPropertiesMetaData()
Method Detail

getDefaultInstance

protected Object getDefaultInstance()
Description copied from class: AbstractMapMetaData
Create the default map instance

Overrides:
getDefaultInstance in class AbstractMapMetaData
Returns:
the class instance

getExpectedClass

protected Class<? extends Map> getExpectedClass()
Overrides:
getExpectedClass in class AbstractMapMetaData

getKeyType

public String getKeyType()
Description copied from class: AbstractMapMetaData
Get the key type

Overrides:
getKeyType in class AbstractMapMetaData
Returns:
the key type

setKeyType

public void setKeyType(String keyType)
Description copied from class: AbstractMapMetaData
Set the key type

Overrides:
setKeyType in class AbstractMapMetaData
Parameters:
keyType - the key type

getValueType

public String getValueType()
Description copied from class: AbstractMapMetaData
Get the value type

Overrides:
getValueType in class AbstractMapMetaData
Returns:
the value type

setValueType

public void setValueType(String valueType)
Description copied from class: AbstractMapMetaData
Set the value type

Overrides:
setValueType in class AbstractMapMetaData
Parameters:
valueType - the value type

clone

public AbstractPropertiesMetaData clone()
Description copied from interface: MetaDataVisitorNode
Clone the object

Specified by:
clone in interface MetaDataVisitorNode
Specified by:
clone in interface org.jboss.util.JBossInterface
Overrides:
clone in class AbstractMapMetaData
Returns:
a clone of the object


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.