Class CatalogTarget
java.lang.Object
org.odpi.openmetadata.frameworks.governanceaction.properties.CatalogTargetProperties
org.odpi.openmetadata.frameworks.governanceaction.properties.CatalogTarget
- Direct Known Subclasses:
RequestedCatalogTarget
CatalogTarget contains the properties for one of the integration connector's catalog targets.
Each integration connector is optionally linked via the CatalogTarget relationship to one or more elements that the integration connector
is working on. The catalogTargetElement contains details of the entity that represents the catalog target.
It is extracted from entity proxy two of the catalog target relationship.
-
Constructor Summary
ConstructorDescriptionDefault constructorCatalogTarget
(CatalogTarget template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return details of the catalog target element.Return the unique identifier of the CatalogTarget relationship.Return the latest version information from the catalog target relationship.int
hashCode()
Return hash code for this objectvoid
setCatalogTargetElement
(ElementStub catalogTargetElement) Set up details of the catalog target element.void
setRelationshipGUID
(String relationshipGUID) Set up the unique identifier of the CatalogTarget relationship.void
setRelationshipVersions
(ElementVersions relationshipVersions) Set up the latest version information from the catalog target relationship.toString()
JSON-style toStringMethods inherited from class org.odpi.openmetadata.frameworks.governanceaction.properties.CatalogTargetProperties
getCatalogTargetName, getConfigurationProperties, getConnectionName, getDeleteMethod, getMetadataSourceQualifiedName, getPermittedSynchronization, getTemplateProperties, setCatalogTargetName, setConfigurationProperties, setConnectionName, setDeleteMethod, setMetadataSourceQualifiedName, setPermittedSynchronization, setTemplateProperties
-
Constructor Details
-
CatalogTarget
public CatalogTarget()Default constructor -
CatalogTarget
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getRelationshipGUID
Return the unique identifier of the CatalogTarget relationship. This is useful if the values in this relationship need to be updated.- Returns:
- string guid
-
setRelationshipGUID
Set up the unique identifier of the CatalogTarget relationship. This is useful if the values in this relationship need to be updated.- Parameters:
relationshipGUID
- string guid
-
getRelationshipVersions
Return the latest version information from the catalog target relationship.- Returns:
- version info
-
setRelationshipVersions
Set up the latest version information from the catalog target relationship.- Parameters:
relationshipVersions
- version info
-
getCatalogTargetElement
Return details of the catalog target element. This is extracted from the entity proxy so the classification list may not be complete.- Returns:
- element stub
-
setCatalogTargetElement
Set up details of the catalog target element. This is extracted from the entity proxy so the classification list may not be complete.- Parameters:
catalogTargetElement
- element stub
-
toString
JSON-style toString- Overrides:
toString
in classCatalogTargetProperties
- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equals
in classCatalogTargetProperties
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classCatalogTargetProperties
- Returns:
- int hash code
-