public class DataField extends PropertyBase
| Constructor and Description |
|---|
DataField()
Default constructor
|
DataField(DataField template)
Copy clone constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
|
Map<String,String> |
getAdditionalProperties()
Return any additional properties.
|
int |
getDataFieldAnnotations()
Return the number of the annotations currently attached to this data field.
|
String |
getDataFieldName()
Return the name of this data field.
|
int |
getDataFieldPosition()
Return the position (index) of the data field in the schema.
|
String |
getDataFieldType()
Return the name of type of this data field.
|
Map<String,Object> |
getExtendedProperties()
Return any properties from subtypes.
|
int |
getNestedDataFields()
Return the number of nested data fields.
|
int |
hashCode()
Create a hash code for this element type.
|
void |
setAdditionalProperties(Map<String,String> additionalProperties)
Set up any additional properties.
|
void |
setDataFieldAnnotations(int dataFieldAnnotations)
Set up the number of the annotations currently attached to this data field.
|
void |
setDataFieldName(String dataFieldName)
Set up the name of this data field.
|
void |
setDataFieldPosition(int dataFieldPosition)
Set up the position (index) of the data field in the schema.
|
void |
setDataFieldType(String dataFieldType)
Set up the name of type of this data field.
|
void |
setExtendedProperties(Map<String,Object> extendedProperties)
Set up any properties from subtypes.
|
void |
setNestedDataFields(int nestedDataFields)
Set up the number of nested data fields.
|
String |
toString()
Standard toString method.
|
public DataField()
public DataField(DataField template)
template - object to copypublic int getDataFieldPosition()
public void setDataFieldPosition(int dataFieldPosition)
dataFieldPosition - integerpublic String getDataFieldName()
public void setDataFieldName(String dataFieldName)
dataFieldName - string namepublic String getDataFieldType()
public void setDataFieldType(String dataFieldType)
dataFieldType - string type namepublic int getDataFieldAnnotations()
public void setDataFieldAnnotations(int dataFieldAnnotations)
dataFieldAnnotations - integerpublic Map<String,String> getAdditionalProperties()
public void setAdditionalProperties(Map<String,String> additionalProperties)
additionalProperties - map of property name to property valuepublic int getNestedDataFields()
public void setNestedDataFields(int nestedDataFields)
nestedDataFields - integerpublic Map<String,Object> getExtendedProperties()
public void setExtendedProperties(Map<String,Object> extendedProperties)
extendedProperties - map of property name to property valuepublic String toString()
public boolean equals(Object objectToCompare)
Copyright © 2018–2020 ODPi. All rights reserved.