public class SimpleSchemaType extends SchemaType
| Modifier and Type | Field and Description |
|---|---|
protected String |
dataType |
protected String |
defaultValue |
author, encodingStandard, namespace, usage, versionNumberanchorGUID, description, displayName, isDeprecatedadditionalProperties, meanings, qualifiedNameclassifications, extendedProperties, guid, type, url| Constructor and Description |
|---|
SimpleSchemaType()
Default constructor used by subclasses
|
SimpleSchemaType(SimpleSchemaType 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.
|
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.
|
cloneSchemaElement, cloneSchemaType, getAuthor, getEncodingStandard, getNamespace, getUsage, getVersionNumber, setAuthor, setEncodingStandard, setNamespace, setUsage, setVersionNumbergetAnchorGUID, getDescription, getDisplayName, isDeprecated, setAnchorGUID, setDeprecated, setDescription, setDisplayNamegetAdditionalProperties, getMeanings, getQualifiedName, hashCode, setAdditionalProperties, setMeanings, setQualifiedNamegetClassifications, getExtendedProperties, getGUID, getType, getURL, setClassifications, setExtendedProperties, setGUID, setType, setURLpublic SimpleSchemaType()
public SimpleSchemaType(SimpleSchemaType template)
template - template object to copy.public String getDataType()
public void setDataType(String dataType)
dataType - data type namepublic String getDefaultValue()
public void setDefaultValue(String defaultValue)
defaultValue - String containing default valuepublic String toString()
toString in class SchemaTypepublic boolean equals(Object objectToCompare)
equals in class SchemaTypeobjectToCompare - supplied objectCopyright © 2018–2020 ODPi. All rights reserved.