|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.teiid.rhq.plugin.adapter.api.AbstractPropertyMapAdapter
public abstract class AbstractPropertyMapAdapter
A base class for PropertyMap <-> ???MetaValue adapters.
Constructor Summary | |
---|---|
AbstractPropertyMapAdapter()
|
Method Summary | |
---|---|
org.rhq.core.domain.configuration.PropertyMap |
convertToProperty(org.jboss.metatype.api.values.MetaValue metaValue,
org.rhq.core.domain.configuration.definition.PropertyDefinitionMap propDefMap)
Given a MetaValue , create and return a corresponding Property with the specified PropertyDefinition . |
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, populateMetaValueFromProperty, populatePropertyFromMetaValue |
Constructor Detail |
---|
public AbstractPropertyMapAdapter()
Method Detail |
---|
public org.rhq.core.domain.configuration.PropertyMap convertToProperty(org.jboss.metatype.api.values.MetaValue metaValue, org.rhq.core.domain.configuration.definition.PropertyDefinitionMap propDefMap)
PropertyAdapter
MetaValue
, create and return a corresponding Property
with the specified PropertyDefinition
. If the MetaValue is a form of list or map, all descendant MetaValue's should be represented
as descendants of the returned Property. Generally this method can simply create an empty Property object and
then delegate the population of the guts of the object to PropertyAdapter.populatePropertyFromMetaValue(Property,
MetaValue, PropertyDefinition)
.
convertToProperty
in interface PropertyAdapter<org.rhq.core.domain.configuration.PropertyMap,org.rhq.core.domain.configuration.definition.PropertyDefinitionMap>
metaValue
- the metaValue to be convertedpropDefMap
- the definition of the property to be created and returned
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |