Class EnumSchemaTypeProperties
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.datamanager.properties.ReferenceableProperties
-
- org.odpi.openmetadata.accessservices.datamanager.properties.SchemaElementProperties
-
- org.odpi.openmetadata.accessservices.datamanager.properties.SchemaTypeProperties
-
- org.odpi.openmetadata.accessservices.datamanager.properties.SimpleSchemaTypeProperties
-
- org.odpi.openmetadata.accessservices.datamanager.properties.EnumSchemaTypeProperties
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
EnumSchemaTypeRequestBody
public class EnumSchemaTypeProperties extends SimpleSchemaTypeProperties
EnumSchemaTypeProperties carries the specialized parameters for creating or updating enum schema types.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EnumSchemaTypeProperties()
Default constructorEnumSchemaTypeProperties(EnumSchemaTypeProperties template)
Copy/clone Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.String
getValidValueSetGUID()
Return the unique identifier of the valid value set that describes the enum values for this schema element.int
hashCode()
Return hash code for this objectvoid
setValidValueSetGUID(String validValueSetGUID)
Set up the unique identifier of the value set that describes the enum values for this schema element.String
toString()
Standard toString method.-
Methods inherited from class org.odpi.openmetadata.accessservices.datamanager.properties.SimpleSchemaTypeProperties
getDataType, getDefaultValue, setDataType, setDefaultValue
-
Methods inherited from class org.odpi.openmetadata.accessservices.datamanager.properties.SchemaTypeProperties
getAuthor, getEncodingStandard, getNamespace, getUsage, getVersionNumber, setAuthor, setEncodingStandard, setNamespace, setUsage, setVersionNumber
-
Methods inherited from class org.odpi.openmetadata.accessservices.datamanager.properties.SchemaElementProperties
getDescription, getDisplayName, getIsDeprecated, setDescription, setDisplayName, setIsDeprecated
-
Methods inherited from class org.odpi.openmetadata.accessservices.datamanager.properties.ReferenceableProperties
getAdditionalProperties, getEffectiveFrom, getEffectiveTo, getExtendedProperties, getQualifiedName, getTypeName, getVendorProperties, setAdditionalProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties, setQualifiedName, setTypeName, setVendorProperties
-
-
-
-
Constructor Detail
-
EnumSchemaTypeProperties
public EnumSchemaTypeProperties()
Default constructor
-
EnumSchemaTypeProperties
public EnumSchemaTypeProperties(EnumSchemaTypeProperties template)
Copy/clone Constructor- Parameters:
template
- template object to copy.
-
-
Method Detail
-
getValidValueSetGUID
public String getValidValueSetGUID()
Return the unique identifier of the valid value set that describes the enum values for this schema element.- Returns:
- string guid
-
setValidValueSetGUID
public void setValidValueSetGUID(String validValueSetGUID)
Set up the unique identifier of the value set that describes the enum values for this schema element.- Parameters:
validValueSetGUID
- string guid
-
toString
public String toString()
Standard toString method.- Overrides:
toString
in classSimpleSchemaTypeProperties
- Returns:
- print out of variables in a JSON-style
-
equals
public boolean equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.- Overrides:
equals
in classSimpleSchemaTypeProperties
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Return hash code for this object- Overrides:
hashCode
in classSimpleSchemaTypeProperties
- Returns:
- int hash code
-
-