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
- 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.PropertyBase
CURRENT_AUDIT_HEADER_VERSION -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorGovernedReferenceable(GovernedReferenceable template) Copy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare 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.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.toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
getAdditionalProperties, getQualifiedName, setAdditionalProperties, setQualifiedNameMethods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase
getExtendedProperties, setExtendedPropertiesMethods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader
getClassifications, getGUID, setClassifications, setGUIDMethods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementControlHeader
getOrigin, getStatus, getType, getVersions, setOrigin, setStatus, setType, setVersionsMethods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
getHeaderVersion, setHeaderVersion
-
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:
toStringin 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:
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
-