Class SchemaElementProperties
java.lang.Object
org.odpi.openmetadata.accessservices.datamanager.properties.ReferenceableProperties
org.odpi.openmetadata.accessservices.datamanager.properties.SchemaElementProperties
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DatabaseTableProperties
,DataContainerProperties
,SchemaAttributeProperties
,SchemaTypeProperties
SchemaElementProperties is a bean containing the common attributes for schema types and schema attributes
- 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.Returns the stored description property for the schema element.Return the simple name of the schema element.boolean
Is the schema element deprecated?int
hashCode()
Return hash code based on properties.void
setDescription
(String description) Set up the stored description property for the schema element.void
setDisplayName
(String name) Set up the simple name of the schema element.void
setIsDeprecated
(boolean deprecated) Set whether the schema element deprecated or not.toString()
Standard toString method.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 Details
-
SchemaElementProperties
public SchemaElementProperties()Default constructor -
SchemaElementProperties
Copy/clone Constructor.- Parameters:
template
- template object to copy.
-
-
Method Details
-
getIsDeprecated
public boolean getIsDeprecated()Is the schema element deprecated?- Returns:
- boolean flag
-
setIsDeprecated
public void setIsDeprecated(boolean deprecated) Set whether the schema element deprecated or not. Default is false.- Parameters:
deprecated
- boolean flag
-
getDisplayName
Return the simple name of the schema element.- Returns:
- string name
-
setDisplayName
Set up the simple name of the schema element.- Parameters:
name
- String display name
-
getDescription
Returns the stored description property for the schema element.- Returns:
- string description
-
setDescription
Set up the stored description property for the schema element.- Parameters:
description
- string description
-
toString
Standard toString method.- Overrides:
toString
in classReferenceableProperties
- 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 classReferenceableProperties
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCode
in classReferenceableProperties
- Returns:
- int
-