public class DataFormat extends Object implements Serializable
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="dataType" use="required" type="{http://www.boomi.com/connector/annotation}DataType" /> <attribute name="format" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected DataType |
dataType |
static DataFormat |
EMPTY_INSTANCE |
protected String |
format |
Constructor and Description |
---|
DataFormat() |
Modifier and Type | Method and Description |
---|---|
DataFormat |
copy()
Deep copies the fields of the this model into a new instance of this class and returns it.
|
DataFormat |
copy(boolean isDeep)
Copies the fields of the this model (optionally deeply) into a new instance of this class and returns it.
|
protected DataFormat |
copy(DataFormat nobj,
boolean isDeep)
Copies the fields of the this model (optionally deeply) into the given instance and returns it.
|
boolean |
equals(Object o) |
DataType |
getDataType()
Indicates the data type of this element/attribute
|
String |
getFormat()
Indicates the format of this data element/attribute
|
int |
hashCode() |
void |
setDataType(DataType value)
Sets the value of the dataType property.
|
void |
setFormat(String value)
Sets the value of the format property.
|
String |
toString() |
DataFormat |
withDataType(DataType newValue)
Sets the dataType property to the given newValue and returns this instance.
|
DataFormat |
withFormat(String newValue)
Sets the format property to the given newValue and returns this instance.
|
protected DataType dataType
protected String format
public static final DataFormat EMPTY_INSTANCE
public DataType getDataType()
DataType
public void setDataType(DataType value)
value
- allowed object is
DataType
public String getFormat()
String
public void setFormat(String value)
value
- allowed object is
String
public DataFormat copy()
public DataFormat copy(boolean isDeep)
protected DataFormat copy(DataFormat nobj, boolean isDeep)
public DataFormat withDataType(DataType newValue)
public DataFormat withFormat(String newValue)