public class FieldDefinitionImpl extends Object implements FieldDefinition
| Modifier and Type | Field and Description |
|---|---|
protected String |
field |
protected String |
schema |
| Modifier | Constructor and Description |
|---|---|
protected |
FieldDefinitionImpl() |
|
FieldDefinitionImpl(String schema,
String field) |
| Modifier and Type | Method and 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() |
protected FieldDefinitionImpl()
public FieldDefinitionImpl(String schema, String field)
public String getSchemaName()
FieldDefinitionIf 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 FieldDefinitionpublic String getFieldName()
FieldDefinitionIf the field is prefixed, it should contain the prefix followed by ':'. Examples: dc:title, dc:author/name
getFieldName in interface FieldDefinitionpublic String getPropertyName()
FieldDefinitiongetPropertyName in interface FieldDefinitionpublic FieldDefinition clone()
FieldDefinitionUseful for conversion of layout definition during export.
clone in interface FieldDefinitionclone in class ObjectCopyright © 2019 Nuxeo. All rights reserved.