Class FieldDefinitionImpl
- java.lang.Object
-
- org.nuxeo.ecm.platform.forms.layout.api.impl.FieldDefinitionImpl
-
- All Implemented Interfaces:
Serializable,FieldDefinition
public class FieldDefinitionImpl extends Object implements FieldDefinition
- Since:
- 5.4
- Author:
- Anahide Tchertchian
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedFieldDefinitionImpl()FieldDefinitionImpl(String schema, String field)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FieldDefinitionclone()Returns a clone instance of this field definition.booleanequals(Object obj)StringgetFieldName()Returns the field name, following XPath conventions.StringgetPropertyName()Returns the computed property name with schema and field information.StringgetSchemaName()Optional schema name.StringtoString()
-
-
-
Method Detail
-
getSchemaName
public String getSchemaName()
Description copied from interface:FieldDefinitionOptional schema name.If the field is used to identify a sub field within a complex type, no schema name is needed. Otherwise, the field will not be resolved correctly if the property does not have a prefix.
- Specified by:
getSchemaNamein interfaceFieldDefinition
-
getFieldName
public String getFieldName()
Description copied from interface:FieldDefinitionReturns the field name, following XPath conventions.If the field is prefixed, it should contain the prefix followed by ':'. Examples: dc:title, dc:author/name
- Specified by:
getFieldNamein interfaceFieldDefinition
-
getPropertyName
public String getPropertyName()
Description copied from interface:FieldDefinitionReturns the computed property name with schema and field information.- Specified by:
getPropertyNamein interfaceFieldDefinition
-
clone
public FieldDefinition clone()
Description copied from interface:FieldDefinitionReturns a clone instance of this field definition.Useful for conversion of layout definition during export.
- Specified by:
clonein interfaceFieldDefinition- Overrides:
clonein classObject
-
-