Class SchemaTypeChoiceProperties
java.lang.Object
org.odpi.openmetadata.accessservices.assetmanager.properties.ReferenceableProperties
org.odpi.openmetadata.accessservices.assetmanager.properties.SchemaProperties
org.odpi.openmetadata.accessservices.assetmanager.properties.SchemaTypeProperties
org.odpi.openmetadata.accessservices.assetmanager.properties.SchemaTypeChoiceProperties
- All Implemented Interfaces:
Serializable
SchemaTypeChoiceProperties carries the specialized parameters for creating or updating a choice of schema types.
- See Also:
-
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 list of alternative schema types that this attribute or asset may use.inthashCode()Return hash code for this objectvoidsetSchemaOptions(List<SchemaTypeProperties> schemaOptions) Set up the list of alternative schema types that this attribute or asset may use.toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.accessservices.assetmanager.properties.SchemaTypeProperties
getAuthor, getEncodingStandard, getFormula, getFormulaType, getNamespace, getQueries, getUsage, getVersionNumber, setAuthor, setEncodingStandard, setFormula, setFormulaType, setNamespace, setQueries, setUsage, setVersionNumberMethods inherited from class org.odpi.openmetadata.accessservices.assetmanager.properties.SchemaProperties
getDescription, getDisplayName, getIsDeprecated, setDescription, setDisplayName, setIsDeprecatedMethods inherited from class org.odpi.openmetadata.accessservices.assetmanager.properties.ReferenceableProperties
getAdditionalProperties, getEffectiveFrom, getEffectiveTo, getExtendedProperties, getQualifiedName, getTypeName, getVendorProperties, setAdditionalProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties, setQualifiedName, setTypeName, setVendorProperties
-
Constructor Details
-
SchemaTypeChoiceProperties
public SchemaTypeChoiceProperties()Default constructor -
SchemaTypeChoiceProperties
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
-
getSchemaOptions
Return the list of alternative schema types that this attribute or asset may use.- Returns:
- list of schema types
-
setSchemaOptions
Set up the list of alternative schema types that this attribute or asset may use.- Parameters:
schemaOptions- list of schema types
-
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
-
toString
Standard toString method.- Overrides:
toStringin classSchemaTypeProperties- Returns:
- print out of variables in a JSON-style
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCodein classSchemaTypeProperties- Returns:
- int hash code
-