Class SchemaAttributeRequestBody
java.lang.Object
org.odpi.openmetadata.accessservices.assetowner.properties.ReferenceableProperties
org.odpi.openmetadata.accessservices.assetowner.properties.SchemaElementProperties
org.odpi.openmetadata.accessservices.assetowner.properties.SchemaAttributeProperties
org.odpi.openmetadata.accessservices.assetowner.rest.SchemaAttributeRequestBody
- All Implemented Interfaces:
Serializable
SchemaAttributeRequestBody carries the common parameters for creating or updating a schema attribute.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return the properties that describe the schema attribute.int
hashCode()
Return hash code for this objectvoid
setSchemaAttributeProperties
(SchemaAttributeProperties schemaAttributeProperties) Set up the properties that describe the schema attribute.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.accessservices.assetowner.properties.SchemaAttributeProperties
getAliases, getAllowsDuplicateValues, getAttributeRelationships, getAttributeType, getDefaultValueOverride, getElementPosition, getIsNullable, getLength, getMaxCardinality, getMinCardinality, getMinimumLength, getNativeJavaClass, getOrderedValues, getPrecision, getSortOrder, setAliases, setAllowsDuplicateValues, setAttributeRelationships, setAttributeType, setDefaultValueOverride, setElementPosition, setIsNullable, setLength, setMaxCardinality, setMinCardinality, setMinimumLength, setNativeJavaClass, setOrderedValues, setPrecision, setSortOrder
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 Details
-
SchemaAttributeRequestBody
public SchemaAttributeRequestBody()Default constructor -
SchemaAttributeRequestBody
Copy/clone constructor.- Parameters:
template
- template schema attribute to copy.
-
-
Method Details
-
getSchemaAttributeProperties
Return the properties that describe the schema attribute.- Returns:
- schema attribute properties
-
setSchemaAttributeProperties
Set up the properties that describe the schema attribute.- Parameters:
schemaAttributeProperties
- schema attribute properties
-
toString
Standard toString method.- Overrides:
toString
in classSchemaAttributeProperties
- 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:
equals
in classSchemaAttributeProperties
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classSchemaAttributeProperties
- Returns:
- int hash code
-