Class ContentModelField
- java.lang.Object
-
- org.alfresco.repo.forms.processor.node.ContentModelField
-
-
Constructor Summary
Constructors Constructor Description ContentModelField(FieldDefinition fieldDef, java.lang.Object value)This constructor should only be used to create FieldInfo for transient properties such as encoding, mimetype or size.ContentModelField(org.alfresco.service.cmr.dictionary.AssociationDefinition assocDefinition, AssociationFieldDefinition fieldDef, java.lang.Object value)ContentModelField(org.alfresco.service.cmr.dictionary.PropertyDefinition propertyDefinition, PropertyFieldDefinition fieldDef, java.lang.Object value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FieldDefinitiongetFieldDefinition()java.lang.StringgetFieldName()org.alfresco.service.namespace.QNamegetFullName()java.lang.ObjectgetValue()booleanisProperty()booleanisTransient()java.lang.StringtoString()
-
-
-
Constructor Detail
-
ContentModelField
public ContentModelField(org.alfresco.service.cmr.dictionary.PropertyDefinition propertyDefinition, PropertyFieldDefinition fieldDef, java.lang.Object value)
-
ContentModelField
public ContentModelField(org.alfresco.service.cmr.dictionary.AssociationDefinition assocDefinition, AssociationFieldDefinition fieldDef, java.lang.Object value)
-
ContentModelField
public ContentModelField(FieldDefinition fieldDef, java.lang.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 org.alfresco.service.namespace.QName getFullName()
-
getFieldName
public java.lang.String getFieldName()
- Specified by:
getFieldNamein interfaceField- Returns:
- the fieldName
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-