Class StorageServerIdentityProjection

Direct Known Subclasses:
StorageServer

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

    • name

      protected String name
    • externalId

      protected String externalId
    • uuid

      protected String uuid
  • Constructor Details

    • StorageServerIdentityProjection

      public StorageServerIdentityProjection()
    • StorageServerIdentityProjection

      public StorageServerIdentityProjection(Long id, String name)
  • Method Details

    • getName

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

      public void setName(String name)
      Sets the name of the storage server. Typically this isnt called directly.
      Parameters:
      name - the name of the storage server to be assigned.
    • 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 storage server. In this class this should not be called directly
      Parameters:
      externalId - the external id or API id of the current record
    • getUuid

      public String getUuid()
      returns the uuid of the storage server.
      Returns:
      the uuid of the current record
    • setUuid

      public void setUuid(String uuid)
      Sets the uuid of the storage server. In this class this should not be called directly
      Parameters:
      uuid - the uuid of the current record