Class NetworkDomainRecordIdentityProjection

java.lang.Object
com.morpheusdata.model.MorpheusModel
com.morpheusdata.model.projection.MorpheusIdentityModel
com.morpheusdata.model.projection.NetworkDomainRecordIdentityProjection
Direct Known Subclasses:
NetworkDomainRecord

public class NetworkDomainRecordIdentityProjection extends MorpheusIdentityModel
Provides a subset of properties from the NetworkDomainRecord 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
  • Constructor Details

    • NetworkDomainRecordIdentityProjection

      public NetworkDomainRecordIdentityProjection(Long id, String externalId)
      The default constructor for creating a projection object.
      Parameters:
      id - the database id of the object
      externalId - the API id of the object
    • NetworkDomainRecordIdentityProjection

      public NetworkDomainRecordIdentityProjection()
  • 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 network pool. In this class this should not be called directly
      Parameters:
      externalId - the external id or API id of the current record