Class ContentModelField
java.lang.Object
org.alfresco.repo.forms.processor.node.ContentModelField
- All Implemented Interfaces:
Field
DTO for a content model based Field.
- Since:
- 3.4
- Author:
- Nick Smith
-
Constructor Summary
ConstructorsConstructorDescriptionContentModelField(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
-
Constructor Details
-
ContentModelField
public ContentModelField(PropertyDefinition propertyDefinition, PropertyFieldDefinition fieldDef, Object value) -
ContentModelField
public ContentModelField(AssociationDefinition assocDefinition, AssociationFieldDefinition fieldDef, Object value) -
ContentModelField
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 Details
-
isTransient
public boolean isTransient() -
isProperty
public boolean isProperty() -
getFieldDefinition
- Specified by:
getFieldDefinitionin interfaceField- Returns:
- the field definition
-
getFullName
-
getFieldName
- Specified by:
getFieldNamein interfaceField- Returns:
- the fieldName
-
toString
-
getValue
-