Class GovernedReferenceable
- java.lang.Object
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementControlHeader
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.GovernedReferenceable
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
Asset,SchemaElement
public class GovernedReferenceable extends Referenceable
GovernedReferenceable adds governance relationships and classifications to a referenceable that represents an asset.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected List<Meaning>meaningsprotected List<SearchKeyword>searchKeywords-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
additionalProperties, qualifiedName
-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase
extendedProperties, url
-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
CURRENT_AUDIT_HEADER_VERSION
-
-
Constructor Summary
Constructors Constructor Description GovernedReferenceable()Default constructorGovernedReferenceable(GovernedReferenceable 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.List<Meaning>getMeanings()Return the assigned meanings for this metadata entity.List<SearchKeyword>getSearchKeywords()Return a list of keywords that will help an asset consumer to locate this asset.inthashCode()Return hash code based on properties.voidsetMeanings(List<Meaning> meanings)Set up the assigned meanings for this metadata entity.voidsetSearchKeywords(List<SearchKeyword> searchKeywords)Set up a list of keywords that will help an asset consumer to locate this asset.StringtoString()Standard toString method.-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
getAdditionalProperties, getQualifiedName, setAdditionalProperties, setQualifiedName
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase
getExtendedProperties, getURL, setExtendedProperties, setURL
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader
getClassifications, getGUID, setClassifications, setGUID
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementControlHeader
getOrigin, getStatus, getType, getVersions, setOrigin, setStatus, setType, setVersions
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
getHeaderVersion, setHeaderVersion
-
-
-
-
Field Detail
-
searchKeywords
protected List<SearchKeyword> searchKeywords
-
-
Constructor Detail
-
GovernedReferenceable
public GovernedReferenceable()
Default constructor
-
GovernedReferenceable
public GovernedReferenceable(GovernedReferenceable template)
Copy/clone constructor. Retrieves values from the supplied template- Parameters:
template- element to copy
-
-
Method Detail
-
getMeanings
public List<Meaning> getMeanings()
Return the assigned meanings for this metadata entity.- Returns:
- list of meanings
-
setMeanings
public void setMeanings(List<Meaning> meanings)
Set up the assigned meanings for this metadata entity.- Parameters:
meanings- list of meanings
-
getSearchKeywords
public List<SearchKeyword> getSearchKeywords()
Return a list of keywords that will help an asset consumer to locate this asset.- Returns:
- list of strings
-
setSearchKeywords
public void setSearchKeywords(List<SearchKeyword> searchKeywords)
Set up a list of keywords that will help an asset consumer to locate this asset.- Parameters:
searchKeywords- list of strings
-
toString
public String toString()
Standard toString method.- Overrides:
toStringin classReferenceable- 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 classReferenceable- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Return hash code based on properties.- Overrides:
hashCodein classReferenceable- Returns:
- int
-
-