Class MetadataCorrelationProperties
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.assetmanager.properties.MetadataCorrelationProperties
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
MetadataCorrelationHeader
public class MetadataCorrelationProperties extends Object implements Serializable
MetadataCorrelationProperties describes the common properties used to pass the properties of metadata elements to the metadata repositories (aka properties server). It includes details of the external source of the metadata and any properties that assists in the mapping of the open metadata elements to the external asset manager's copy.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MetadataCorrelationProperties()Default constructorMetadataCorrelationProperties(MetadataCorrelationProperties 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.StringgetAssetManagerGUID()Return the unique identifier of the software server capability that represents the asset manager.StringgetAssetManagerName()Return the qualified name of the software server capability that represents the asset manager.StringgetExternalIdentifier()Return the unique identifier used in the external asset manager for this element.StringgetExternalIdentifierName()Return a short description of the external identifier (such as style or property name).StringgetExternalIdentifierSource()Return the component (connector/client) that created/maintained this external identifier and its relationship to the open metadata element(s).StringgetExternalIdentifierUsage()Return a short description of how the external identifier is used.KeyPatterngetKeyPattern()Returns the key pattern used in the asset manager for the external identifier.Map<String,String>getMappingProperties()Return any additional properties to help with the mapping of the external identifier to open metadata elements.StringgetSynchronizationDescription()Return optional short description of the asset manager.SynchronizationDirectiongetSynchronizationDirection()Return details of the synchronization direction.inthashCode()Return has code based on properties.voidsetAssetManagerGUID(String assetManagerGUID)Set up the unique identifier of the software server capability that represents the asset manager.voidsetAssetManagerName(String assetManagerName)Set up the qualified name of the software server capability that represents the asset manager.voidsetExternalIdentifier(String externalIdentifier)Set up the unique identifier used in the external asset manager for this element.voidsetExternalIdentifierName(String externalIdentifierName)Set up a short description of the external identifier (such as style or property name).voidsetExternalIdentifierSource(String externalIdentifierSource)Set up the component (connector/client) that created/maintained this external identifier and its relationship to the open metadata element(s).voidsetExternalIdentifierUsage(String externalIdentifierUsage)Set up a short description of how the external identifier is used.voidsetKeyPattern(KeyPattern keyPattern)Set up the key pattern used in the asset manager for the external identifier.voidsetMappingProperties(Map<String,String> mappingProperties)Set up any additional properties to help with the mapping of the external identifier to open metadata elements.voidsetSynchronizationDescription(String synchronizationDescription)Set up optional short description of the asset manager.voidsetSynchronizationDirection(SynchronizationDirection synchronizationDirection)Set up details of the synchronization direction.StringtoString()Standard toString method.
-
-
-
Constructor Detail
-
MetadataCorrelationProperties
public MetadataCorrelationProperties()
Default constructor
-
MetadataCorrelationProperties
public MetadataCorrelationProperties(MetadataCorrelationProperties template)
Copy/clone constructor.- Parameters:
template- template object to copy.
-
-
Method Detail
-
getAssetManagerGUID
public String getAssetManagerGUID()
Return the unique identifier of the software server capability that represents the asset manager.- Returns:
- string guid
-
setAssetManagerGUID
public void setAssetManagerGUID(String assetManagerGUID)
Set up the unique identifier of the software server capability that represents the asset manager.- Parameters:
assetManagerGUID- string guid
-
getAssetManagerName
public String getAssetManagerName()
Return the qualified name of the software server capability that represents the asset manager.- Returns:
- string name
-
setAssetManagerName
public void setAssetManagerName(String assetManagerName)
Set up the qualified name of the software server capability that represents the asset manager.- Parameters:
assetManagerName- string name
-
getSynchronizationDirection
public SynchronizationDirection getSynchronizationDirection()
Return details of the synchronization direction.- Returns:
- enum
-
setSynchronizationDirection
public void setSynchronizationDirection(SynchronizationDirection synchronizationDirection)
Set up details of the synchronization direction.- Parameters:
synchronizationDirection- enum
-
getSynchronizationDescription
public String getSynchronizationDescription()
Return optional short description of the asset manager.- Returns:
- string summary
-
setSynchronizationDescription
public void setSynchronizationDescription(String synchronizationDescription)
Set up optional short description of the asset manager.- Parameters:
synchronizationDescription- string summary
-
getExternalIdentifier
public String getExternalIdentifier()
Return the unique identifier used in the external asset manager for this element.- Returns:
- string identifier
-
setExternalIdentifier
public void setExternalIdentifier(String externalIdentifier)
Set up the unique identifier used in the external asset manager for this element.- Parameters:
externalIdentifier- string identifier
-
getExternalIdentifierName
public String getExternalIdentifierName()
Return a short description of the external identifier (such as style or property name).- Returns:
- string summary
-
setExternalIdentifierName
public void setExternalIdentifierName(String externalIdentifierName)
Set up a short description of the external identifier (such as style or property name).- Parameters:
externalIdentifierName- string summary
-
getExternalIdentifierUsage
public String getExternalIdentifierUsage()
Return a short description of how the external identifier is used.- Returns:
- string description
-
setExternalIdentifierUsage
public void setExternalIdentifierUsage(String externalIdentifierUsage)
Set up a short description of how the external identifier is used.- Parameters:
externalIdentifierUsage- string description
-
getExternalIdentifierSource
public String getExternalIdentifierSource()
Return the component (connector/client) that created/maintained this external identifier and its relationship to the open metadata element(s).- Returns:
- component name
-
setExternalIdentifierSource
public void setExternalIdentifierSource(String externalIdentifierSource)
Set up the component (connector/client) that created/maintained this external identifier and its relationship to the open metadata element(s).- Parameters:
externalIdentifierSource- component name
-
setKeyPattern
public void setKeyPattern(KeyPattern keyPattern)
Set up the key pattern used in the asset manager for the external identifier.- Parameters:
keyPattern- String name
-
getKeyPattern
public KeyPattern getKeyPattern()
Returns the key pattern used in the asset manager for the external identifier.- Returns:
- String name
-
getMappingProperties
public Map<String,String> getMappingProperties()
Return any additional properties to help with the mapping of the external identifier to open metadata elements.- Returns:
- name-value pairs
-
setMappingProperties
public void setMappingProperties(Map<String,String> mappingProperties)
Set up any additional properties to help with the mapping of the external identifier to open metadata elements.- Parameters:
mappingProperties- name-value pairs
-
toString
public String toString()
Standard toString method.
-
equals
public boolean equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
-
-