Class LiteralSchemaTypeProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.EntityProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.AuthoredReferenceableProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.schema.SchemaElementProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.schema.SchemaTypeProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.schema.LiteralSchemaTypeProperties
LiteralSchemaTypeProperties carries the specialized parameters for creating or updating literal schema types.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
typeName -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/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. -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the data type for this element.Return the fixed value for the element.inthashCode()Create a hash code for this element type.voidsetDataType(String dataType) Set up the data type for this element.voidsetFixedValue(String fixedValue) Set up the fixed value for the element.toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.schema.SchemaTypeProperties
getEncodingStandard, getFormula, getFormulaType, getNamespacePath, getQueries, getUsage, setEncodingStandard, setFormula, setFormulaType, setNamespacePath, setQueries, setUsageMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.AuthoredReferenceableProperties
getAuthors, getContentStatus, getUserDefinedContentStatus, setAuthors, setContentStatus, setUserDefinedContentStatusMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
getAdditionalProperties, getCategory, getDescription, getDisplayName, getIdentifier, getQualifiedName, getURL, getVersionIdentifier, setAdditionalProperties, setCategory, setDescription, setDisplayName, setIdentifier, setQualifiedName, setURL, setVersionIdentifierMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
getExtendedProperties, getTypeName, setExtendedProperties, setTypeNameMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.EntityProperties
getEffectiveFrom, getEffectiveTo, setEffectiveFrom, setEffectiveTo
-
Constructor Details
-
LiteralSchemaTypeProperties
public LiteralSchemaTypeProperties()Default constructor -
LiteralSchemaTypeProperties
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.- Parameters:
template- template object to copy.
-
-
Method Details
-
getDataType
Return the data type for this element. Null means unknown data type.- Returns:
- String data type name
-
setDataType
Set up the data type for this element. Null means unknown data type.- Parameters:
dataType- data type name
-
getFixedValue
Return the fixed value for the element. Null means fixed value is null.- Returns:
- String containing fixed value
-
setFixedValue
Set up the fixed value for the element. Null means fixed value is null.- Parameters:
fixedValue- String containing fixed value
-
toString
Standard toString method.- Overrides:
toStringin classSchemaTypeProperties- Returns:
- print out of variables in a JSON-style
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equalsin classSchemaTypeProperties- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Create a hash code for this element type.- Overrides:
hashCodein classSchemaTypeProperties- Returns:
- int hash code
-