Class GlossaryProperties
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.assetmanager.properties.ReferenceableProperties
-
- org.odpi.openmetadata.accessservices.assetmanager.properties.GlossaryProperties
-
- All Implemented Interfaces:
Serializable
public class GlossaryProperties extends ReferenceableProperties
GlossaryProperties is a class for representing a generic glossary.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GlossaryProperties()Default constructorGlossaryProperties(GlossaryProperties 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.StringgetDescription()Return the description of the glossary.StringgetDisplayName()Return a human memorable name for the glossary.StringgetLanguage()Return the language that the glossary contents are written in.StringgetUsage()Return the expected usage of the glossary content.inthashCode()Return has code based on properties.voidsetDescription(String description)Set up the description of the glossary.voidsetDisplayName(String displayName)Set up a human memorable name for the glossary.voidsetLanguage(String language)Set up the language that the glossary contents are written in.voidsetUsage(String usage)Set up the expected usage of the glossary content.StringtoString()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 Detail
-
GlossaryProperties
public GlossaryProperties()
Default constructor
-
GlossaryProperties
public GlossaryProperties(GlossaryProperties template)
Copy/clone constructor.- Parameters:
template- object to copy
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
Return a human memorable name for the glossary.- Returns:
- string name
-
setDisplayName
public void setDisplayName(String displayName)
Set up a human memorable name for the glossary.- Parameters:
displayName- string name
-
getDescription
public String getDescription()
Return the description of the glossary.- Returns:
- string text
-
setDescription
public void setDescription(String description)
Set up the description of the glossary.- Parameters:
description- string text
-
getLanguage
public String getLanguage()
Return the language that the glossary contents are written in.- Returns:
- string name
-
setLanguage
public void setLanguage(String language)
Set up the language that the glossary contents are written in.- Parameters:
language- string name
-
getUsage
public String getUsage()
Return the expected usage of the glossary content.- Returns:
- string description
-
setUsage
public void setUsage(String usage)
Set up the expected usage of the glossary content.- Parameters:
usage- string description
-
toString
public String toString()
Standard toString method.- Overrides:
toStringin classReferenceableProperties- 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 classReferenceableProperties- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Return has code based on properties.- Overrides:
hashCodein classReferenceableProperties- Returns:
- int
-
-