Class GovernanceServiceProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
org.odpi.openmetadata.frameworks.governanceaction.properties.GovernanceServiceProperties
- Direct Known Subclasses:
RegisteredGovernanceService
GovernanceServiceProperties contains the definition of a governance service.
This definition can be associated with multiple governance engines.
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return the connection used to create a instance of this governance service.Returns the stored description property for the asset.Returns the stored display name property for the asset.Return the unique identifier of the business capability that originated this governance service.Return the unique identifier for the organization that originated this governance service.Return the properties that characterize where this governance service is from.getOwner()
Returns the name of the owner for this asset.Return the property name used to identifier the owner.Return the type of owner stored in the owner property.Return the names of the zones that this governance service is a member of.int
hashCode()
Create a hash code for this element type.void
setConnection
(Connection connection) Set up the connection used to create a instance of this governance service.void
setDescription
(String description) Set up the stored description property associated with the asset.void
setDisplayName
(String displayName) Set up the stored display name property for the asset.void
setOriginBusinessCapabilityGUID
(String originBusinessCapabilityGUID) Set up the unique identifier of the business capability that originated this governance service.void
setOriginOrganizationGUID
(String originOrganizationGUID) Set up the unique identifier for the organization that originated this governance service.void
setOtherOriginValues
(Map<String, String> otherOriginValues) Set up the properties that characterize where this governance service is from.void
Set up the name of the owner for this asset.void
setOwnerPropertyName
(String ownerPropertyName) Set up the property name used to identifier the owner.void
setOwnerTypeName
(String ownerTypeName) Set up the type of owner stored in the owner property.void
setZoneMembership
(List<String> zoneMembership) Set up the names of the zones that this governance service is a member of.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
getAdditionalProperties, getQualifiedName, getVendorProperties, setAdditionalProperties, setQualifiedName, setVendorProperties
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, getTypeName, setEffectiveFrom, setEffectiveTo, setExtendedProperties, setTypeName
-
Constructor Details
-
GovernanceServiceProperties
public GovernanceServiceProperties()Default constructor -
GovernanceServiceProperties
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getDisplayName
Returns the stored display name property for the asset. If no display name is available then null is returned.- Returns:
- String name
-
setDisplayName
Set up the stored display name property for the asset.- Parameters:
displayName
- String name
-
getDescription
Returns the stored description property for the asset. If no description is provided then null is returned.- Returns:
- description String text
-
setDescription
Set up the stored description property associated with the asset.- Parameters:
description
- String text
-
getOwner
Returns the name of the owner for this asset.- Returns:
- owner String
-
setOwner
Set up the name of the owner for this asset.- Parameters:
owner
- String name
-
getOwnerTypeName
Return the type of owner stored in the owner property.- Returns:
- String name
-
setOwnerTypeName
Set up the type of owner stored in the owner property.- Parameters:
ownerTypeName
- String name
-
getOwnerPropertyName
Return the property name used to identifier the owner.- Returns:
- String name
-
setOwnerPropertyName
Set up the property name used to identifier the owner.- Parameters:
ownerPropertyName
- String name
-
getZoneMembership
Return the names of the zones that this governance service is a member of.- Returns:
- list of zone names
-
setZoneMembership
Set up the names of the zones that this governance service is a member of.- Parameters:
zoneMembership
- list of zone names
-
getOriginOrganizationGUID
Return the unique identifier for the organization that originated this governance service.- Returns:
- string guid
-
setOriginOrganizationGUID
Set up the unique identifier for the organization that originated this governance service.- Parameters:
originOrganizationGUID
- string guid
-
getOriginBusinessCapabilityGUID
Return the unique identifier of the business capability that originated this governance service.- Returns:
- string guid
-
setOriginBusinessCapabilityGUID
Set up the unique identifier of the business capability that originated this governance service.- Parameters:
originBusinessCapabilityGUID
- string guid
-
getOtherOriginValues
Return the properties that characterize where this governance service is from.- Returns:
- map of name value pairs, all strings
-
setOtherOriginValues
Set up the properties that characterize where this governance service is from.- Parameters:
otherOriginValues
- map of name value pairs, all strings
-
getConnection
Return the connection used to create a instance of this governance service.- Returns:
- Connection object
-
setConnection
Set up the connection used to create a instance of this governance service.- Parameters:
connection
- connection object
-
toString
Standard toString method.- Overrides:
toString
in classReferenceableProperties
- 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 classReferenceableProperties
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Create a hash code for this element type.- Overrides:
hashCode
in classReferenceableProperties
- Returns:
- int hash code
-