Class MetadataCorrelationHeader
java.lang.Object
org.odpi.openmetadata.frameworks.governanceaction.properties.ExternalIdentifierProperties
org.odpi.openmetadata.frameworks.governanceaction.properties.MetadataCorrelationProperties
org.odpi.openmetadata.frameworks.governanceaction.properties.MetadataCorrelationHeader
MetadataCorrelationHeader provides details of the external identifier(s) and other correlation
properties to help the connector/client work out the correlation between the open metadata elements
and the third party technology elements.
-
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 last time that the metadata properties were synchronized between open metadata and the third party technology.int
hashCode()
Return hash code based on properties.void
setLastSynchronized
(Date lastSynchronized) Set up the last time that the metadata properties were synchronized between open metadata and the third party technology.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.governanceaction.properties.MetadataCorrelationProperties
getExternalScopeGUID, getExternalScopeName, getExternalScopeTypeName, setExternalScopeGUID, setExternalScopeName, setExternalScopeTypeName
Methods inherited from class org.odpi.openmetadata.frameworks.governanceaction.properties.ExternalIdentifierProperties
getExternalIdentifier, getExternalIdentifierName, getExternalIdentifierSource, getExternalIdentifierUsage, getExternalInstanceCreatedBy, getExternalInstanceCreationTime, getExternalInstanceLastUpdatedBy, getExternalInstanceLastUpdateTime, getExternalInstanceVersion, getKeyPattern, getMappingProperties, getSynchronizationDescription, getSynchronizationDirection, setExternalIdentifier, setExternalIdentifierName, setExternalIdentifierSource, setExternalIdentifierUsage, setExternalInstanceCreatedBy, setExternalInstanceCreationTime, setExternalInstanceLastUpdatedBy, setExternalInstanceLastUpdateTime, setExternalInstanceVersion, setKeyPattern, setMappingProperties, setSynchronizationDescription, setSynchronizationDirection
-
Constructor Details
-
MetadataCorrelationHeader
public MetadataCorrelationHeader()Default constructor -
MetadataCorrelationHeader
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getLastSynchronized
Return the last time that the metadata properties were synchronized between open metadata and the third party technology.- Returns:
- timestamp
-
setLastSynchronized
Set up the last time that the metadata properties were synchronized between open metadata and the third party technology.- Parameters:
lastSynchronized
- timestamp
-
toString
Standard toString method.- Overrides:
toString
in classMetadataCorrelationProperties
- 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 classMetadataCorrelationProperties
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCode
in classMetadataCorrelationProperties
- Returns:
- int
-