public class ContentModelItemData<ItemType> extends Object implements TransientValueGetter
| Constructor and Description |
|---|
ContentModelItemData(ItemType item,
Map<QName,PropertyDefinition> propDefs,
Map<QName,AssociationDefinition> assocDefs,
Map<QName,Serializable> propValues,
Map<QName,Serializable> assocValues,
Map<String,Object> transientValues) |
| Modifier and Type | Method and Description |
|---|---|
Collection<QName> |
getAllAssociationDefinitionNames() |
Collection<QName> |
getAllPropertyDefinitionNames() |
Collection<String> |
getAllTransientFieldNames() |
AssociationDefinition |
getAssociationDefinition(QName assocName) |
Serializable |
getAssociationValue(QName key) |
ItemType |
getItem() |
PropertyDefinition |
getPropertyDefinition(QName propName) |
Serializable |
getPropertyValue(QName key) |
Object |
getTransientValue(String fieldName) |
public ContentModelItemData(ItemType item, Map<QName,PropertyDefinition> propDefs, Map<QName,AssociationDefinition> assocDefs, Map<QName,Serializable> propValues, Map<QName,Serializable> assocValues, Map<String,Object> transientValues)
public ItemType getItem()
public Serializable getPropertyValue(QName key)
key or
null if none exists.public Serializable getAssociationValue(QName key)
key or
null if none exists.public Object getTransientValue(String fieldName)
getTransientValue in interface TransientValueGetternull if none exists.public PropertyDefinition getPropertyDefinition(QName propName)
propName
or null if none exists.public AssociationDefinition getAssociationDefinition(QName assocName)
assocName or null if none exists.public Collection<QName> getAllAssociationDefinitionNames()
QNames for the item.public Collection<QName> getAllPropertyDefinitionNames()
public Collection<String> getAllTransientFieldNames()
Copyright © 2005–2020 Alfresco Software. All rights reserved.