Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.forms.layout.descriptors
Class FieldDescriptor

java.lang.Object
  extended by org.nuxeo.ecm.platform.forms.layout.descriptors.FieldDescriptor
All Implemented Interfaces:
Serializable, FieldDefinition

public class FieldDescriptor
extends Object
implements FieldDefinition

Field definition descriptor.

Author:
Anahide Tchertchian
See Also:
Serialized Form

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

Constructor Detail

FieldDescriptor

public FieldDescriptor()

FieldDescriptor

public FieldDescriptor(String schema,
                       String field)
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 interface FieldDefinition

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 interface FieldDefinition

getPropertyName

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

Specified by:
getPropertyName in interface FieldDefinition

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.