|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.system.server.profileservice.persistence.AbstractValuePersistence
public class AbstractValuePersistence
The AbstractValuePersistence creates a xml representation of MetaValues which are used for the ProfileService attachment persistence.
Constructor Summary | |
---|---|
AbstractValuePersistence(ManagedObjectPersistencePlugin callback,
org.jboss.metatype.api.values.MetaValueFactory metaValueFactory)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractValuePersistence(ManagedObjectPersistencePlugin callback, org.jboss.metatype.api.values.MetaValueFactory metaValueFactory)
Method Detail |
---|
public org.jboss.metatype.api.values.MetaValueFactory getMetaValueFactory()
protected ManagedObjectPersistencePlugin getPlugin()
protected PersistedValue createPersistedValue(org.jboss.metatype.api.values.MetaValue value, org.jboss.metatype.api.types.MetaType metaType)
value
- the meta valuemetaType
- the meta type
protected PersistedValue createPersistedValue(org.jboss.metatype.api.values.MetaValue value, org.jboss.metatype.api.types.MetaType metaType, PersistedValue persisted)
value
- the meta valuemetaType
- the meta typepersisted
-
protected PersistedEnumValue createEnumValue(org.jboss.metatype.api.values.EnumValue value)
value
- the enum value
protected PersistedSimpleValue createSimpleValue(org.jboss.metatype.api.values.SimpleValue value)
value
- the simple value
protected PersistedCollectionValue createCollectionValue(org.jboss.metatype.api.values.CollectionValue value)
value
- the collection value
protected PersistedGenericValue createGenericValue(org.jboss.metatype.api.values.GenericValue value)
value
- the generic value
protected PersistedGenericValue createGenericValue(org.jboss.metatype.api.values.GenericValue value, PersistedGenericValue generic)
value
- the generic valuethe
- persisted generic value
protected PersistedArrayValue createArrayValue(org.jboss.metatype.api.values.ArrayValue value, org.jboss.metatype.api.types.ArrayMetaType metaType)
value
- the array value
protected PersistedArrayValue unwrapArray(PersistedArrayValue array, Object element, org.jboss.metatype.api.types.MetaType type)
array
- the parent arrayelement
- the array valuetype
- the element meta type
protected PersistedCompositeValue createCompositeValue(org.jboss.metatype.api.values.CompositeValue value, org.jboss.metatype.api.types.CompositeMetaType metaType)
value
- the composite valuemetaType
- the composite meta typethe
- persisted composite value
protected PersistedTableValue createTableValue(org.jboss.metatype.api.values.TableValue value)
value
- the table valuethe
- persisted table
protected PersistedValue createPropertiesValue(org.jboss.metatype.api.values.PropertiesMetaValue value)
value
- the properties valuethe
- persisted properties
protected static PersistedValue emtpyPersistedValue(org.jboss.metatype.api.types.MetaType metaType)
metaType
- the meta type
protected String convertSimple2String(org.jboss.metatype.api.values.SimpleValue value)
value
- the simple meta value.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |