Class SchemaTypeChoiceProperties
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.assetowner.properties.ReferenceableProperties
-
- org.odpi.openmetadata.accessservices.assetowner.properties.SchemaElementProperties
-
- org.odpi.openmetadata.accessservices.assetowner.properties.SchemaTypeProperties
-
- org.odpi.openmetadata.accessservices.assetowner.properties.SchemaTypeChoiceProperties
-
- All Implemented Interfaces:
Serializable
public class SchemaTypeChoiceProperties extends SchemaTypeProperties
SchemaTypeChoiceProperties carries the specialized parameters for creating or updating a choice of schema types.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SchemaTypeChoiceProperties()Default constructorSchemaTypeChoiceProperties(SchemaTypeChoiceProperties 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Compare the values of the supplied object with those stored in the current object.List<SchemaTypeProperties>getSchemaOptions()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.StringtoString()Standard toString method.-
Methods inherited from class org.odpi.openmetadata.accessservices.assetowner.properties.SchemaTypeProperties
getAuthor, getEncodingStandard, getFormula, getNamespace, getQueries, getUsage, getVersionNumber, setAuthor, setEncodingStandard, setFormula, setNamespace, setQueries, setUsage, setVersionNumber
-
Methods inherited from class org.odpi.openmetadata.accessservices.assetowner.properties.SchemaElementProperties
getDescription, getDisplayName, getIsDeprecated, setDescription, setDisplayName, setIsDeprecated
-
Methods inherited from class org.odpi.openmetadata.accessservices.assetowner.properties.ReferenceableProperties
getAdditionalProperties, getExtendedProperties, getQualifiedName, getTypeName, setAdditionalProperties, setExtendedProperties, setQualifiedName, setTypeName
-
-
-
-
Constructor Detail
-
SchemaTypeChoiceProperties
public SchemaTypeChoiceProperties()
Default constructor
-
SchemaTypeChoiceProperties
public SchemaTypeChoiceProperties(SchemaTypeChoiceProperties 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.- Parameters:
template- template object to copy.
-
-
Method Detail
-
getSchemaOptions
public List<SchemaTypeProperties> getSchemaOptions()
Return the list of alternative schema types that this attribute or asset may use.- Returns:
- list of schema types
-
setSchemaOptions
public void setSchemaOptions(List<SchemaTypeProperties> schemaOptions)
Set up the list of alternative schema types that this attribute or asset may use.- Parameters:
schemaOptions- list of schema types
-
equals
public boolean equals(Object objectToCompare)
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
public String 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
-
-