Package | Description |
---|---|
org.alfresco.repo.domain.propval |
Modifier and Type | Field and Description |
---|---|
protected static Map<Class<?>,PropertyValueEntity.PersistedType> |
DefaultPropertyTypeConverter.defaultPersistedTypesByClass
An unmodifiable map of types and how they should be persisted
|
static Map<Short,PropertyValueEntity.PersistedType> |
PropertyValueEntity.persistedTypesByOrdinal
An unmodifiable map of persisted type enums keyed by their ordinal number
|
Modifier and Type | Method and Description |
---|---|
PropertyValueEntity.PersistedType |
PropertyValueEntity.getPersistedTypeEnum() |
static PropertyValueEntity.PersistedType |
PropertyValueEntity.getPersistedTypeEnum(Serializable value,
PropertyTypeConverter converter)
Helper method to determine how the given value will be stored.
|
PropertyValueEntity.PersistedType |
PropertyTypeConverter.getPersistentType(Serializable value)
When external to persisted type mappings are not obvious, the persistence framework,
before persisting as
SERIALIZABLE , will give the converter
a chance to choose how the value must be persisted:
LONG
DOUBLE
STRING
SERIALIZABLE
CONSTRUCTABLE
The converter should return SERIALIZABLE if no further conversions
are possible. |
PropertyValueEntity.PersistedType |
DefaultPropertyTypeConverter.getPersistentType(Serializable value)
When external to persisted type mappings are not obvious, the persistence framework,
before persisting as
SERIALIZABLE , will give the converter
a chance to choose how the value must be persisted:
LONG
DOUBLE
STRING
SERIALIZABLE
CONSTRUCTABLE
The converter should return SERIALIZABLE if no further conversions
are possible. |
static PropertyValueEntity.PersistedType |
PropertyValueEntity.PersistedType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PropertyValueEntity.PersistedType[] |
PropertyValueEntity.PersistedType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultPropertyTypeConverter.addTypeMapping(Class<?> clazz,
PropertyValueEntity.PersistedType targetType)
Allow subclasses to add further type mappings specific to the implementation
|
Copyright © 2005–2017 Alfresco Software. All rights reserved.