Class SchemaElementProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.schema.SchemaElementProperties
- Direct Known Subclasses:
SchemaAttributeProperties
,SchemaTypeProperties
SchemaElementProperties carries the common parameters for creating or updating schema elements such as schema types and attributes.
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the description of the file.Return the display name of the fileboolean
Is the schema element deprecated?int
hashCode()
Return hash code for this objectvoid
setDescription
(String description) Set up the description of the file.void
setDisplayName
(String displayName) Set up the display name of the file.void
setIsDeprecated
(boolean deprecated) Set whether the schema element deprecated or not.toString()
JSON-style toStringMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
getAdditionalProperties, getQualifiedName, getVendorProperties, setAdditionalProperties, setQualifiedName, setVendorProperties
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, getTypeName, setEffectiveFrom, setEffectiveTo, setExtendedProperties, setTypeName
-
Constructor Details
-
SchemaElementProperties
public SchemaElementProperties()Default constructor -
SchemaElementProperties
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getDisplayName
Return the display name of the file- Returns:
- string name
-
setDisplayName
Set up the display name of the file.- Parameters:
displayName
- string name
-
getDescription
Return the description of the file.- Returns:
- string description
-
setDescription
Set up the description of the file.- Parameters:
description
- string description
-
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
-
toString
JSON-style toString- Overrides:
toString
in classReferenceableProperties
- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equals
in classReferenceableProperties
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classReferenceableProperties
- Returns:
- int hash code
-