Class AssetMeaning
- java.lang.Object
-
- org.odpi.openmetadata.frameworks.connectors.properties.AssetPropertyElementBase
-
- org.odpi.openmetadata.frameworks.connectors.properties.AssetPropertyBase
-
- org.odpi.openmetadata.frameworks.connectors.properties.AssetElementHeader
-
- org.odpi.openmetadata.frameworks.connectors.properties.AssetMeaning
-
- All Implemented Interfaces:
Serializable
public class AssetMeaning extends AssetElementHeader
Meaning is a cut-down summary of a glossary term to aid the asset consumer in understanding the content of an asset.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected MeaningmeaningBean-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.AssetPropertyBase
parentAsset
-
-
Constructor Summary
Constructors Constructor Description AssetMeaning(AssetDescriptor parentAsset, AssetMeaning templateMeaning)Copy/clone constructor.AssetMeaning(AssetDescriptor parentAsset, Meaning meaningBean)Bean constructorAssetMeaning(Meaning meaningBean)Bean 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 term.protected MeaninggetMeaningBean()Return the bean containing all of the propertiesStringgetName()Return the glossary term name.inthashCode()Hash of propertiesStringtoString()Standard toString method.-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.AssetElementHeader
getAssetClassifications, getElementHeaderBean, getExtendedProperties, getGUID, getType, getURL, setBean
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.AssetPropertyBase
getParentAsset, getParentAssetName, getParentAssetTypeName
-
-
-
-
Field Detail
-
meaningBean
protected Meaning meaningBean
-
-
Constructor Detail
-
AssetMeaning
public AssetMeaning(Meaning meaningBean)
Bean constructor- Parameters:
meaningBean- - bean containing all of the properties
-
AssetMeaning
public AssetMeaning(AssetDescriptor parentAsset, Meaning meaningBean)
Bean constructor- Parameters:
parentAsset- descriptor for parent assetmeaningBean- - bean containing all of the properties
-
AssetMeaning
public AssetMeaning(AssetDescriptor parentAsset, AssetMeaning templateMeaning)
Copy/clone constructor.- Parameters:
parentAsset- descriptor for parent assettemplateMeaning- element to copy
-
-
Method Detail
-
getMeaningBean
protected Meaning getMeaningBean()
Return the bean containing all of the properties- Returns:
- meaning bean
-
getName
public String getName()
Return the glossary term name.- Returns:
- String name
-
getDescription
public String getDescription()
Return the description of the glossary term.- Returns:
- String description
-
toString
public String toString()
Standard toString method.- Overrides:
toStringin classAssetElementHeader- 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 classAssetElementHeader- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Hash of properties- Overrides:
hashCodein classAssetElementHeader- Returns:
- int
-
-