Class NetworkPoolIdentityProjection

Direct Known Subclasses:
NetworkPool

public class NetworkPoolIdentityProjection extends MorpheusIdentityModel
Provides a subset of properties from the NetworkPool 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
    • typeCode

      protected String typeCode
    • category

      protected String category
    • accountId

      protected Long accountId
  • Constructor Details

    • NetworkPoolIdentityProjection

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

      public NetworkPoolIdentityProjection(Long id, String externalId, String typeCode)
      The default constructor for creating a projection object.
      Parameters:
      id - the database id of the object
      externalId - the API id of the object
      typeCode - the type code from the NetworkPoolType
    • NetworkPoolIdentityProjection

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

      public NetworkPoolIdentityProjection()
  • 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
    • getTypeCode

      public String getTypeCode()
      Gets the unique code correlating to the NetworkPoolType this pool belongs to. Pool type codes are globally unique.
      Returns:
      the code correlating to the NetworkPoolType this record belongs to.
    • setTypeCode

      public void setTypeCode(String typeCode)
      Sets the unique code correlating to the NetworkPoolType this pool belongs to. Pool type codes are globally unique.
      Parameters:
      typeCode - the code correlating to the NetworkPoolType this record belongs to.
    • getCategory

      public String getCategory()
    • setCategory

      public void setCategory(String category)
      Sets the category of the network pool. In this class this should not be called directly
      Parameters:
      category - of the current record
    • getAccountId

      public Long getAccountId()
      returns the account ID of the equivalent object.
      Returns:
      the account ID of the current record
    • setAccountId

      public void setAccountId(Long accountId)
      Sets the account ID of the network pool. In this class this should not be called directly
      Parameters:
      accountId - account ID of the current record