Class SchemaProperties
java.lang.Object
org.odpi.openmetadata.accessservices.assetmanager.properties.ReferenceableProperties
org.odpi.openmetadata.accessservices.assetmanager.properties.SchemaProperties
- Direct Known Subclasses:
SchemaAttributeProperties,SchemaTypeProperties
SchemaProperties is a bean containing the common attributes for schema types and schema attributes.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorSchemaProperties(SchemaProperties template) Copy/clone Constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Returns the stored technicalDescription property for the schema element.Return the simple name of the schema element.booleanIs the schema element deprecated?inthashCode()Return hash code based on properties.voidsetDescription(String description) Set up the stored technicalDescription property for the schema element.voidsetDisplayName(String name) Set up the simple name of the schema element.voidsetIsDeprecated(boolean deprecated) Set whether the schema element deprecated or not.toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.accessservices.assetmanager.properties.ReferenceableProperties
getAdditionalProperties, getEffectiveFrom, getEffectiveTo, getExtendedProperties, getQualifiedName, getTypeName, getVendorProperties, setAdditionalProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties, setQualifiedName, setTypeName, setVendorProperties
-
Constructor Details
-
SchemaProperties
public SchemaProperties()Default constructor -
SchemaProperties
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 technicalDescription property for the schema element.- Returns:
- string technicalDescription
-
setDescription
Set up the stored technicalDescription property for the schema element.- Parameters:
description- string technicalDescription
-
toString
Standard toString method.- Overrides:
toStringin 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:
equalsin classReferenceableProperties- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCodein classReferenceableProperties- Returns:
- int
-