Class GovernanceServiceProperties
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.governanceengine.properties.ReferenceableProperties
-
- org.odpi.openmetadata.accessservices.governanceengine.properties.GovernanceServiceProperties
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
RegisteredGovernanceService
public class GovernanceServiceProperties extends ReferenceableProperties
GovernanceServiceProperties contains the definition of a governance service. This definition can be associated with multiple governance engines.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GovernanceServiceProperties()Default constructorGovernanceServiceProperties(GovernanceServiceProperties 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.ConnectiongetConnection()Return the connection used to create a instance of this governance service.StringgetDescription()Returns the stored description property for the asset.StringgetDisplayName()Returns the stored display name property for the asset.StringgetOriginBusinessCapabilityGUID()Return the unique identifier of the business capability that originated this governance service.StringgetOriginOrganizationGUID()Return the unique identifier for the organization that originated this governance service.Map<String,String>getOtherOriginValues()Return the properties that characterize where this governance service is from.StringgetOwner()Returns the name of the owner for this asset.StringgetOwnerPropertyName()Return the property name used to identifier the owner.StringgetOwnerTypeName()Return the type of owner stored in the owner property.List<String>getZoneMembership()Return the names of the zones that this governance service is a member of.inthashCode()Create a hash code for this element type.voidsetConnection(Connection connection)Set up the connection used to create a instance of this governance service.voidsetDescription(String description)Set up the stored description property associated with the asset.voidsetDisplayName(String displayName)Set up the stored display name property for the asset.voidsetOriginBusinessCapabilityGUID(String originBusinessCapabilityGUID)Set up the unique identifier of the business capability that originated this governance service.voidsetOriginOrganizationGUID(String originOrganizationGUID)Set up the unique identifier for the organization that originated this governance service.voidsetOtherOriginValues(Map<String,String> otherOriginValues)Set up the properties that characterize where this governance service is from.voidsetOwner(String owner)Set up the name of the owner for this asset.voidsetOwnerPropertyName(String ownerPropertyName)Set up the property name used to identifier the owner.voidsetOwnerTypeName(String ownerTypeName)Set up the type of owner stored in the owner property.voidsetZoneMembership(List<String> zoneMembership)Set up the names of the zones that this governance service is a member of.StringtoString()Standard toString method.-
Methods inherited from class org.odpi.openmetadata.accessservices.governanceengine.properties.ReferenceableProperties
getAdditionalProperties, getQualifiedName, setAdditionalProperties, setQualifiedName
-
-
-
-
Constructor Detail
-
GovernanceServiceProperties
public GovernanceServiceProperties()
Default constructor
-
GovernanceServiceProperties
public GovernanceServiceProperties(GovernanceServiceProperties template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
Returns the stored display name property for the asset. If no display name is available then null is returned.- Returns:
- String name
-
setDisplayName
public void setDisplayName(String displayName)
Set up the stored display name property for the asset.- Parameters:
displayName- String name
-
getDescription
public String getDescription()
Returns the stored description property for the asset. If no description is provided then null is returned.- Returns:
- description String text
-
setDescription
public void setDescription(String description)
Set up the stored description property associated with the asset.- Parameters:
description- String text
-
getOwner
public String getOwner()
Returns the name of the owner for this asset.- Returns:
- owner String
-
setOwner
public void setOwner(String owner)
Set up the name of the owner for this asset.- Parameters:
owner- String name
-
getOwnerTypeName
public String getOwnerTypeName()
Return the type of owner stored in the owner property.- Returns:
- String name
-
setOwnerTypeName
public void setOwnerTypeName(String ownerTypeName)
Set up the type of owner stored in the owner property.- Parameters:
ownerTypeName- String name
-
getOwnerPropertyName
public String getOwnerPropertyName()
Return the property name used to identifier the owner.- Returns:
- String name
-
setOwnerPropertyName
public void setOwnerPropertyName(String ownerPropertyName)
Set up the property name used to identifier the owner.- Parameters:
ownerPropertyName- String name
-
getZoneMembership
public List<String> getZoneMembership()
Return the names of the zones that this governance service is a member of.- Returns:
- list of zone names
-
setZoneMembership
public void setZoneMembership(List<String> zoneMembership)
Set up the names of the zones that this governance service is a member of.- Parameters:
zoneMembership- list of zone names
-
getOriginOrganizationGUID
public String getOriginOrganizationGUID()
Return the unique identifier for the organization that originated this governance service.- Returns:
- string guid
-
setOriginOrganizationGUID
public void setOriginOrganizationGUID(String originOrganizationGUID)
Set up the unique identifier for the organization that originated this governance service.- Parameters:
originOrganizationGUID- string guid
-
getOriginBusinessCapabilityGUID
public String getOriginBusinessCapabilityGUID()
Return the unique identifier of the business capability that originated this governance service.- Returns:
- string guid
-
setOriginBusinessCapabilityGUID
public void setOriginBusinessCapabilityGUID(String originBusinessCapabilityGUID)
Set up the unique identifier of the business capability that originated this governance service.- Parameters:
originBusinessCapabilityGUID- string guid
-
getOtherOriginValues
public Map<String,String> getOtherOriginValues()
Return the properties that characterize where this governance service is from.- Returns:
- map of name value pairs, all strings
-
setOtherOriginValues
public void setOtherOriginValues(Map<String,String> otherOriginValues)
Set up the properties that characterize where this governance service is from.- Parameters:
otherOriginValues- map of name value pairs, all strings
-
getConnection
public Connection getConnection()
Return the connection used to create a instance of this governance service.- Returns:
- Connection object
-
setConnection
public void setConnection(Connection connection)
Set up the connection used to create a instance of this governance service.- Parameters:
connection- connection object
-
toString
public String toString()
Standard toString method.- Overrides:
toStringin classReferenceableProperties- 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 classReferenceableProperties- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Create a hash code for this element type.- Overrides:
hashCodein classReferenceableProperties- Returns:
- int hash code
-
-