public class SimpleSchemaTypeProperties extends SchemaTypeProperties
additionalProperties, classifications, extendedProperties, meanings, qualifiedName, typeName| Constructor and Description |
|---|
SimpleSchemaTypeProperties()
Default constructor
|
SimpleSchemaTypeProperties(SimpleSchemaTypeProperties template)
Copy/clone Constructor - the parentAsset is passed separately to the template because it is also
likely to be being cloned in the same operation and we want the definitions clone to point to the
asset clone and not the original asset.
|
| Modifier and Type | Method and Description |
|---|---|
SimpleSchemaType |
cloneProperties(SimpleSchemaType objectToFill)
Copy/clone operator.
|
boolean |
equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
|
String |
getDataType()
Return the data type for this element.
|
String |
getDefaultValue()
Return the default value for the element.
|
void |
setDataType(String dataType)
Set up the data type for this element.
|
void |
setDefaultValue(String defaultValue)
Set up the default value for the element.
|
String |
toString()
Standard toString method.
|
cloneProperties, getAuthor, getEncodingStandard, getNamespace, getUsage, getVersionNumber, setAuthor, setEncodingStandard, setNamespace, setUsage, setVersionNumbergetDescription, getDisplayName, hashCode, isDeprecated, setDeprecated, setDescription, setDisplayNamegetAdditionalProperties, getClassifications, getExtendedProperties, getMeanings, getQualifiedName, getTypeName, setAdditionalProperties, setClassifications, setExtendedProperties, setMeanings, setQualifiedName, setTypeNamepublic SimpleSchemaTypeProperties()
public SimpleSchemaTypeProperties(SimpleSchemaTypeProperties template)
template - template object to copy.public SimpleSchemaType cloneProperties(SimpleSchemaType objectToFill)
objectToFill - schema type objectpublic String getDataType()
public void setDataType(String dataType)
dataType - data type namepublic String getDefaultValue()
public void setDefaultValue(String defaultValue)
defaultValue - String containing default valuepublic boolean equals(Object objectToCompare)
equals in class SchemaTypePropertiesobjectToCompare - supplied objectpublic String toString()
toString in class SchemaTypePropertiesCopyright © 2018–2020 ODPi. All rights reserved.