Class SchemaProperties
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.assetmanager.properties.ReferenceableProperties
-
- org.odpi.openmetadata.accessservices.assetmanager.properties.SupplementaryProperties
-
- org.odpi.openmetadata.accessservices.assetmanager.properties.SchemaProperties
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
SchemaAttributeProperties,SchemaTypeProperties
public class SchemaProperties extends SupplementaryProperties
SchemaProperties is a bean containing the common attributes for schema types and schema attributes.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SchemaProperties()Default constructorSchemaProperties(SchemaProperties 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.booleangetIsDeprecated()Is the schema element deprecated?StringgetTechnicalDescription()Returns the stored technicalDescription property for the schema element.StringgetTechnicalName()Return the simple name of the schema element.inthashCode()Return has code based on properties.voidsetIsDeprecated(boolean deprecated)Set whether the schema element deprecated or not.voidsetTechnicalDescription(String technicalDescription)Set up the stored technicalDescription property for the schema element.voidsetTechnicalName(String name)Set up the simple name of the schema element.StringtoString()Standard toString method.-
Methods inherited from class org.odpi.openmetadata.accessservices.assetmanager.properties.SupplementaryProperties
getAbbreviation, getDescription, getDisplayName, getSummary, getUsage, setAbbreviation, setDescription, setDisplayName, setSummary, setUsage
-
Methods inherited from class org.odpi.openmetadata.accessservices.assetmanager.properties.ReferenceableProperties
getAdditionalProperties, getExtendedProperties, getQualifiedName, getTypeName, getVendorProperties, setAdditionalProperties, setExtendedProperties, setQualifiedName, setTypeName, setVendorProperties
-
-
-
-
Constructor Detail
-
SchemaProperties
public SchemaProperties()
Default constructor
-
SchemaProperties
public SchemaProperties(SchemaProperties template)
Copy/clone Constructor.- Parameters:
template- template object to copy.
-
-
Method Detail
-
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
-
getTechnicalName
public String getTechnicalName()
Return the simple name of the schema element.- Returns:
- string name
-
setTechnicalName
public void setTechnicalName(String name)
Set up the simple name of the schema element.- Parameters:
name- String display name
-
getTechnicalDescription
public String getTechnicalDescription()
Returns the stored technicalDescription property for the schema element.- Returns:
- string technicalDescription
-
setTechnicalDescription
public void setTechnicalDescription(String technicalDescription)
Set up the stored technicalDescription property for the schema element.- Parameters:
technicalDescription- string technicalDescription
-
toString
public String toString()
Standard toString method.- Overrides:
toStringin classSupplementaryProperties- 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 classSupplementaryProperties- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Return has code based on properties.- Overrides:
hashCodein classSupplementaryProperties- Returns:
- int
-
-