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
public class SchemaAttributeRequestBody extends SchemaAttributeProperties
SchemaAttributeRequestBody carries the common parameters for creating or updating a schema attribute.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SchemaAttributeRequestBody()Default constructorSchemaAttributeRequestBody(SchemaAttributeRequestBody template)Copy/clone constructor.
-
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.SchemaAttributePropertiesgetSchemaAttributeProperties()Return the properties that describe the schema attribute.inthashCode()Return hash code for this objectvoidsetSchemaAttributeProperties(SchemaAttributeProperties schemaAttributeProperties)Set up the properties that describe the schema attribute.StringtoString()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 Detail
-
SchemaAttributeRequestBody
public SchemaAttributeRequestBody()
Default constructor
-
SchemaAttributeRequestBody
public SchemaAttributeRequestBody(SchemaAttributeRequestBody template)
Copy/clone constructor.- Parameters:
template- template schema attribute to copy.
-
-
Method Detail
-
getSchemaAttributeProperties
public SchemaAttributeProperties getSchemaAttributeProperties()
Return the properties that describe the schema attribute.- Returns:
- schema attribute properties
-
setSchemaAttributeProperties
public void setSchemaAttributeProperties(SchemaAttributeProperties schemaAttributeProperties)
Set up the properties that describe the schema attribute.- Parameters:
schemaAttributeProperties- schema attribute properties
-
toString
public String toString()
Standard toString method.- Overrides:
toStringin classSchemaAttributeProperties- 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:
equalsin classSchemaAttributeProperties- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Return hash code for this object- Overrides:
hashCodein classSchemaAttributeProperties- Returns:
- int hash code
-
-