public class LiteralSchemaType extends SchemaType
| Modifier and Type | Field and Description |
|---|---|
protected String |
dataType |
protected String |
fixedValue |
author, encodingStandard, namespace, usage, versionNumberanchorGUID, description, displayName, isDeprecatedadditionalProperties, meanings, qualifiedNameclassifications, extendedProperties, guid, type, url| Constructor and Description |
|---|
LiteralSchemaType()
Default constructor used by subclasses
|
LiteralSchemaType(LiteralSchemaType template)
Copy/clone Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
SchemaElement |
cloneSchemaElement()
Returns a clone of this object as the abstract SchemaElement class.
|
SchemaType |
cloneSchemaType()
Returns a clone of this object as the abstract SchemaType class.
|
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 |
getFixedValue()
Return the fixed value for the element.
|
void |
setDataType(String dataType)
Set up the data type for this element.
|
void |
setFixedValue(String fixedValue)
Set up the fixed value for the element.
|
String |
toString()
Standard toString method.
|
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 LiteralSchemaType()
public LiteralSchemaType(LiteralSchemaType template)
template - template object to copy.public String getDataType()
public void setDataType(String dataType)
dataType - data type namepublic String getFixedValue()
public void setFixedValue(String fixedValue)
fixedValue - String containing fixed valuepublic SchemaElement cloneSchemaElement()
cloneSchemaElement in class SchemaTypepublic SchemaType cloneSchemaType()
cloneSchemaType in class SchemaTypepublic String toString()
toString in class SchemaTypepublic boolean equals(Object objectToCompare)
equals in class SchemaTypeobjectToCompare - supplied objectCopyright © 2018–2020 ODPi. All rights reserved.