Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.platform.forms.layout.api
Interface FieldDefinition

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
FieldDefinitionImpl, FieldDescriptor

public interface FieldDefinition
extends java.io.Serializable

Interface for field definition.

Will help to identify a document field.

Author:
Anahide Tchertchian

Method Summary
 java.lang.String getFieldName()
          Returns the field name, following XPath conventions.
 java.lang.String getPropertyName()
          Returns the computed property name with schema and field information.
 java.lang.String getSchemaName()
          Optional schema name.
 

Method Detail

getSchemaName

java.lang.String getSchemaName()
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.


getFieldName

java.lang.String getFieldName()
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


getPropertyName

java.lang.String getPropertyName()
Returns the computed property name with schema and field information.


Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.