public class FieldDefinitionImpl extends Object implements FieldDefinition
Constructor and Description |
---|
FieldDefinitionImpl(String schema,
String field) |
Modifier and Type | Method and Description |
---|---|
FieldDefinition |
clone()
Returns a clone instance of this field definition.
|
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.
|
public String getSchemaName()
FieldDefinition
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.
getSchemaName
in interface FieldDefinition
public String getFieldName()
FieldDefinition
If the field is prefixed, it should contain the prefix followed by ':'. Examples: dc:title, dc:author/name
getFieldName
in interface FieldDefinition
public String getPropertyName()
FieldDefinition
getPropertyName
in interface FieldDefinition
public FieldDefinition clone()
FieldDefinition
Useful for conversion of layout definition during export.
clone
in interface FieldDefinition
clone
in class Object
Copyright © 2013 Nuxeo SA. All Rights Reserved.