org.teiid.rhq.plugin.adapter.impl
Class PropertyMapToCompositeValueSupportAdapter

java.lang.Object
  extended by org.teiid.rhq.plugin.adapter.api.AbstractPropertyMapAdapter
      extended by org.teiid.rhq.plugin.adapter.impl.AbstractPropertyMapToCompositeValueAdapter
          extended by org.teiid.rhq.plugin.adapter.impl.PropertyMapToCompositeValueSupportAdapter
All Implemented Interfaces:
PropertyAdapter<org.rhq.core.domain.configuration.PropertyMap,org.rhq.core.domain.configuration.definition.PropertyDefinitionMap>

public class PropertyMapToCompositeValueSupportAdapter
extends AbstractPropertyMapToCompositeValueAdapter
implements PropertyAdapter<org.rhq.core.domain.configuration.PropertyMap,org.rhq.core.domain.configuration.definition.PropertyDefinitionMap>

This class provides code that maps back and forth between a PropertyMap and a CompositeValueSupport. A CompositeValueSupport is a CompositeValue implementation that contains items that may be of different types.


Constructor Summary
PropertyMapToCompositeValueSupportAdapter()
           
 
Method Summary
protected  org.jboss.metatype.api.values.CompositeValue createCompositeValue(org.rhq.core.domain.configuration.definition.PropertyDefinitionMap propDefMap, org.jboss.metatype.api.types.MetaType metaType)
           
protected  void putValue(org.jboss.metatype.api.values.CompositeValue compositeValue, java.lang.String key, org.jboss.metatype.api.values.MetaValue value)
           
 
Methods inherited from class org.teiid.rhq.plugin.adapter.impl.AbstractPropertyMapToCompositeValueAdapter
convertToMetaValue, populateMetaValueFromProperty, populatePropertyFromMetaValue
 
Methods inherited from class org.teiid.rhq.plugin.adapter.api.AbstractPropertyMapAdapter
convertToProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.teiid.rhq.plugin.adapter.api.PropertyAdapter
convertToMetaValue, convertToProperty, populateMetaValueFromProperty, populatePropertyFromMetaValue
 

Constructor Detail

PropertyMapToCompositeValueSupportAdapter

public PropertyMapToCompositeValueSupportAdapter()
Method Detail

putValue

protected void putValue(org.jboss.metatype.api.values.CompositeValue compositeValue,
                        java.lang.String key,
                        org.jboss.metatype.api.values.MetaValue value)
Specified by:
putValue in class AbstractPropertyMapToCompositeValueAdapter

createCompositeValue

protected org.jboss.metatype.api.values.CompositeValue createCompositeValue(org.rhq.core.domain.configuration.definition.PropertyDefinitionMap propDefMap,
                                                                            org.jboss.metatype.api.types.MetaType metaType)
Specified by:
createCompositeValue in class AbstractPropertyMapToCompositeValueAdapter


Copyright © 2011. All Rights Reserved.