Class ReplicationIdentityProjection


public class ReplicationIdentityProjection extends MorpheusIdentityModel
Provides a subset of properties from the Replication object for doing a sync match comparison with less bandwidth usage and memory footprint. This is a DTO Projection object
See Also:
  • Field Details

    • externalId

      protected String externalId
    • name

      protected String name
    • typeCode

      protected String typeCode
    • replicationSiteId

      protected Long replicationSiteId
    • replicationGroupId

      protected Long replicationGroupId
    • replicationSetId

      protected String replicationSetId
  • Constructor Details

    • ReplicationIdentityProjection

      public ReplicationIdentityProjection()
    • ReplicationIdentityProjection

      public ReplicationIdentityProjection(Long id, String externalId, String name, String typeCode)
    • ReplicationIdentityProjection

      public ReplicationIdentityProjection(Long id, String externalId, String name, String typeCode, Long replicationSiteId, Long replicationGroupId, String replicationSetId)
  • Method Details

    • getExternalId

      public String getExternalId()
      returns the externalId also known as the API id of the equivalent object.
      Returns:
      the external id or API id of the current record
    • setExternalId

      public void setExternalId(String externalId)
      Sets the externalId of the backup. In this class this should not be called directly
      Parameters:
      externalId - the external id or API id of the current record
    • getName

      public String getName()
      Gets the name of the backup. This is on the identity projection in case a fallback match needs to happen by name
      Returns:
      the current name of the backup
    • setName

      public void setName(String name)
      Sets the name of the Backup. Typically this isnt called directly.
      Parameters:
      name - the name of the backup to be assigned.
    • getTypeCode

      public String getTypeCode()
      The ReplicationType.getCode() is mapped here in the identity projection for quick filter search.
      Returns:
      the associated ReplicationType.getCode()
    • getReplicationSiteId

      public Long getReplicationSiteId()
    • setReplicationSiteId

      public void setReplicationSiteId(Long replicationSiteId)
    • getReplicationGroupId

      public Long getReplicationGroupId()
    • setReplicationGroupId

      public void setReplicationGroupId(Long replicationGroupId)
    • getReplicationSetId

      public String getReplicationSetId()
    • setReplicationSetId

      public void setReplicationSetId(String replicationSetId)