Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.platform.forms.layout.api
Class FieldDefinitionImpl

java.lang.Object
  extended by org.nuxeo.ecm.platform.forms.layout.api.FieldDefinitionImpl
All Implemented Interfaces:
java.io.Serializable, FieldDefinition

public class FieldDefinitionImpl
extends java.lang.Object
implements FieldDefinition

Since:
5.4
Author:
Anahide Tchertchian
See Also:
Serialized Form

Constructor Summary
FieldDefinitionImpl()
           
FieldDefinitionImpl(java.lang.String schema, java.lang.String field)
           
 
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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldDefinitionImpl

public FieldDefinitionImpl()

FieldDefinitionImpl

public FieldDefinitionImpl(java.lang.String schema,
                           java.lang.String field)
Method Detail

getSchemaName

public java.lang.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 interface FieldDefinition

getFieldName

public java.lang.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 interface FieldDefinition

getPropertyName

public java.lang.String getPropertyName()
Description copied from interface: FieldDefinition
Returns the computed property name with schema and field information.

Specified by:
getPropertyName in interface FieldDefinition

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.