|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.system.server.profileservice.persistence.AbstractValueRecreation
public class AbstractValueRecreation
The abstract value recreation creates MetaValues based on the persisted managed object information and the MetaTypes of the ManagedObject used for persistence. The recreation of ManagedObjects itself is delegated to a ManagedObjectRecreationPlugin.
Constructor Summary | |
---|---|
AbstractValueRecreation(ManagedObjectPersistencePlugin callback)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractValueRecreation(ManagedObjectPersistencePlugin callback)
Method Detail |
---|
public ManagedObjectPersistencePlugin getPlugin()
public org.jboss.metatype.api.values.MetaValue createMetaValue(PersistedValue valueElement, org.jboss.metatype.api.types.MetaType metaType)
valueElement
- the persisted xml elementtype
- the meta type
protected org.jboss.metatype.api.values.SimpleValue createSimpleValue(PersistedSimpleValue valueElement, org.jboss.metatype.api.types.SimpleMetaType metaType)
valueElement
- the persisted xml meta datavalue
- the simple value
protected org.jboss.metatype.api.values.EnumValue createEnumValue(PersistedEnumValue enumElement, org.jboss.metatype.api.types.EnumMetaType type)
enumElement
- the persisted xml meta datavalue
- the enum value
protected org.jboss.metatype.api.values.CompositeValue createCompositeValue(PersistedCompositeValue composite, org.jboss.metatype.api.types.CompositeMetaType type)
composite
- the persisted xml meta datavalue
- the composite value
protected org.jboss.metatype.api.values.MapCompositeValueSupport handleMapCompositeMetaType(PersistedCompositeValue composite, org.jboss.metatype.api.types.MapCompositeMetaType type)
composite
- the persisted composite xml meta datatype
- the MapComposite meta type
protected org.jboss.metatype.api.values.CollectionValue createCollectionValue(PersistedCollectionValue collection, org.jboss.metatype.api.types.CollectionMetaType type)
collection
- the persisted xml meta datavalue
- the collection value
protected org.jboss.metatype.api.values.GenericValue createGenericValue(PersistedGenericValue genericElement, org.jboss.metatype.api.types.GenericMetaType metaType)
genericElement
- the persisted generic xml meta datametaType
- the generic meta type
protected org.jboss.metatype.api.values.TableValue createTableValue(PersistedTableValue table, org.jboss.metatype.api.types.TableMetaType type)
table
- the persisted table valuetype
- the table meta type
protected org.jboss.metatype.api.values.MetaValue createPropertiesValue(PersistedPropertiesValue value, org.jboss.metatype.api.types.PropertiesMetaType metaType)
value
- the persisted properties valuemetaType
- the properties meta type
protected org.jboss.metatype.api.values.ArrayValue createArrayValue(PersistedArrayValue valueElement, org.jboss.metatype.api.types.ArrayMetaType type)
valueElement
- the persisted array xml valuetype
- the array meta type
protected Object recreateArrayValue(PersistedArrayValue valueElement, org.jboss.metatype.api.types.MetaType type)
valueElement
- the persisted xml valuetype
- the element type
public Serializable convert2Type(String className, String value)
clazz
- a primitive serializable class.value
- the String
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |