Class ContentModelField
- java.lang.Object
-
- org.alfresco.repo.forms.processor.node.ContentModelField
-
-
Constructor Summary
Constructors Constructor Description ContentModelField(FieldDefinition fieldDef, Object value)This constructor should only be used to create FieldInfo for transient properties such as encoding, mimetype or size.ContentModelField(AssociationDefinition assocDefinition, AssociationFieldDefinition fieldDef, Object value)ContentModelField(PropertyDefinition propertyDefinition, PropertyFieldDefinition fieldDef, Object value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FieldDefinitiongetFieldDefinition()StringgetFieldName()QNamegetFullName()ObjectgetValue()booleanisProperty()booleanisTransient()StringtoString()
-
-
-
Constructor Detail
-
ContentModelField
public ContentModelField(PropertyDefinition propertyDefinition, PropertyFieldDefinition fieldDef, Object value)
-
ContentModelField
public ContentModelField(AssociationDefinition assocDefinition, AssociationFieldDefinition fieldDef, Object value)
-
ContentModelField
public ContentModelField(FieldDefinition fieldDef, Object value)
This constructor should only be used to create FieldInfo for transient properties such as encoding, mimetype or size.- Parameters:
fieldDef- The PropertyFieldDefinition for the transient property.
-
-
Method Detail
-
isTransient
public boolean isTransient()
-
isProperty
public boolean isProperty()
-
getFieldDefinition
public FieldDefinition getFieldDefinition()
- Specified by:
getFieldDefinitionin interfaceField- Returns:
- the field definition
-
getFullName
public QName getFullName()
-
getFieldName
public String getFieldName()
- Specified by:
getFieldNamein interfaceField- Returns:
- the fieldName
-
-