Class GovernedReferenceable
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementControlHeader
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.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
- Direct Known Subclasses:
Asset
,SchemaElement
GovernedReferenceable adds governance relationships and classifications to a referenceable that represents
an asset.
-
Field Summary
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
Fields inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementControlHeader
CURRENT_AUDIT_HEADER_VERSION
-
Constructor Summary
ConstructorDescriptionDefault constructorGovernedReferenceable
(GovernedReferenceable template) Copy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return the assigned meanings for this metadata entity.Return a list of keywords that will help an asset consumer to locate this asset.int
hashCode()
Return hash code based on properties.void
setMeanings
(List<Meaning> meanings) Set up the assigned meanings for this metadata entity.void
setSearchKeywords
(List<SearchKeyword> searchKeywords) Set up a list of keywords that will help an asset consumer to locate this asset.toString()
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, setExtendedProperties
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementHeader
getClassifications, getGUID, setClassifications, setGUID
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementControlHeader
getHeaderVersion, getOrigin, getStatus, getType, getVersions, setHeaderVersion, setOrigin, setStatus, setType, setVersions
-
Field Details
-
meanings
-
searchKeywords
-
-
Constructor Details
-
GovernedReferenceable
public GovernedReferenceable()Default constructor -
GovernedReferenceable
Copy/clone constructor. Retrieves values from the supplied template- Parameters:
template
- element to copy
-
-
Method Details
-
getMeanings
Return the assigned meanings for this metadata entity.- Returns:
- list of meanings
-
setMeanings
Set up the assigned meanings for this metadata entity.- Parameters:
meanings
- list of meanings
-
getSearchKeywords
Return a list of keywords that will help an asset consumer to locate this asset.- Returns:
- list of strings
-
setSearchKeywords
Set up a list of keywords that will help an asset consumer to locate this asset.- Parameters:
searchKeywords
- list of strings
-
toString
Standard toString method.- Overrides:
toString
in classReferenceable
- 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:
equals
in classReferenceable
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCode
in classReferenceable
- Returns:
- int
-