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 protected
FieldDefinitionImpl()
FieldDefinitionImpl(String schema, String field)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FieldDefinition
clone()
Returns a clone instance of this field definition.boolean
equals(Object obj)
String
getFieldName()
Returns the field name, following XPath conventions.String
getPropertyName()
Returns the computed property name with schema and field information.String
getSchemaName()
Optional schema name.String
toString()
-
-
-
Method Detail
-
getSchemaName
public String getSchemaName()
Description copied from interface:FieldDefinition
Optional 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:
getSchemaName
in interfaceFieldDefinition
-
getFieldName
public String getFieldName()
Description copied from interface:FieldDefinition
Returns 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:
getFieldName
in interfaceFieldDefinition
-
getPropertyName
public String getPropertyName()
Description copied from interface:FieldDefinition
Returns the computed property name with schema and field information.- Specified by:
getPropertyName
in interfaceFieldDefinition
-
clone
public FieldDefinition clone()
Description copied from interface:FieldDefinition
Returns a clone instance of this field definition.Useful for conversion of layout definition during export.
- Specified by:
clone
in interfaceFieldDefinition
- Overrides:
clone
in classObject
-
-