public class LiteralSchemaTypeProperties extends SchemaTypeProperties
| Constructor and Description |
|---|
LiteralSchemaTypeProperties()
Default constructor
|
LiteralSchemaTypeProperties(LiteralSchemaTypeProperties 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 |
|---|---|
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.
|
int |
hashCode()
Create a hash code for this element type.
|
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, getFormula, getNamespace, getQueries, getUsage, getVersionNumber, setAuthor, setEncodingStandard, setFormula, setNamespace, setQueries, setUsage, setVersionNumbergetDescription, getDisplayName, getIsDeprecated, setDescription, setDisplayName, setIsDeprecatedgetAdditionalProperties, getExtendedProperties, getQualifiedName, getTypeName, setAdditionalProperties, setExtendedProperties, setQualifiedName, setTypeNamepublic LiteralSchemaTypeProperties()
public LiteralSchemaTypeProperties(LiteralSchemaTypeProperties 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 String toString()
toString in class SchemaTypePropertiespublic boolean equals(Object objectToCompare)
equals in class SchemaTypePropertiesobjectToCompare - supplied objectpublic int hashCode()
hashCode in class SchemaTypePropertiesCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.