java.lang.Object
org.odpi.openmetadata.frameworks.integration.iterator.MemberElement

public class MemberElement extends Object
MemberElement describes a single element in a metadata collection. It is also able to determine the action to take in the synchronization process provided targetPermittedSynchronization is set up to be To/From/Both and the third party technology supports creation/last update dates (because if these dates are null, the classifier assumes the element does not exist in the third party.
  • Method Details

    • getElement

      public OpenMetadataElement getElement()
      Return the element.
      Returns:
      open metadata element
    • getRootSchemaType

      public RelatedMetadataElement getRootSchemaType()
      Return the related schema type element that is the root of the element's schema. This is only present on assets - and not all assets have a schema.
      Returns:
      related metadata element
    • getExternalIdentifier

      public MetadataCorrelationHeader getExternalIdentifier()
      The specific identifier from the third party system.
      Returns:
      selected external identifier
    • getVendorProperties

      public Map<String,String> getVendorProperties(String vendorIdentifier)
      Return any additional properties that are specific to the deployment.
      Returns:
      string map
    • getMemberAction

      public MemberAction getMemberAction(Date thirdPartyElementCreationTime, Date thirdPartyElementLastUpdateTime)
      Return the action that needs to be taken based on the information both in the open metadata ecosystem and the third party system.
      Parameters:
      thirdPartyElementCreationTime - the time that the element was created in the third party - if this value is null then it is assumed that the element does not exist in the third party system
      thirdPartyElementLastUpdateTime - the time that the element was last updated in the third party
      Returns:
      the action to take
    • toString

      public String toString()
      Print out useful info.
      Overrides:
      toString in class Object
      Returns:
      string