Class SchemaElementProperties
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.stewardshipaction.properties.ReferenceableProperties
-
- org.odpi.openmetadata.accessservices.stewardshipaction.properties.SchemaElementProperties
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
SchemaAttributeProperties,SchemaTypeProperties
public abstract class SchemaElementProperties extends ReferenceableProperties
SchemaElementProperties carries the common parameters for creating or updating schema elements such as schema types and attributes.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SchemaElementProperties()Default constructorSchemaElementProperties(SchemaElementProperties template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Return comparison result based on the content of the properties.StringgetDescription()Return the description of the file.StringgetDisplayName()Return the display name of the filebooleangetIsDeprecated()Is the schema element deprecated?inthashCode()Return hash code for this objectvoidsetDescription(String description)Set up the description of the file.voidsetDisplayName(String displayName)Set up the display name of the file.voidsetIsDeprecated(boolean deprecated)Set whether the schema element deprecated or not.StringtoString()JSON-style toString-
Methods inherited from class org.odpi.openmetadata.accessservices.stewardshipaction.properties.ReferenceableProperties
getAdditionalProperties, getExtendedProperties, getQualifiedName, getTypeName, setAdditionalProperties, setExtendedProperties, setQualifiedName, setTypeName
-
-
-
-
Constructor Detail
-
SchemaElementProperties
public SchemaElementProperties()
Default constructor
-
SchemaElementProperties
public SchemaElementProperties(SchemaElementProperties template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
Return the display name of the file- Returns:
- string name
-
setDisplayName
public void setDisplayName(String displayName)
Set up the display name of the file.- Parameters:
displayName- string name
-
getDescription
public String getDescription()
Return the description of the file.- Returns:
- string description
-
setDescription
public void setDescription(String description)
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
public String toString()
JSON-style toString- Overrides:
toStringin classReferenceableProperties- Returns:
- return string containing the property names and values
-
equals
public boolean equals(Object objectToCompare)
Return comparison result based on the content of the properties.- Overrides:
equalsin classReferenceableProperties- Parameters:
objectToCompare- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()
Return hash code for this object- Overrides:
hashCodein classReferenceableProperties- Returns:
- int hash code
-
-