Class OperationNotificationIdentityProjection

java.lang.Object
com.morpheusdata.model.MorpheusModel
com.morpheusdata.model.projection.MorpheusIdentityModel
com.morpheusdata.model.projection.OperationNotificationIdentityProjection
Direct Known Subclasses:
OperationNotification

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

    • OperationNotificationIdentityProjection

      public OperationNotificationIdentityProjection(Long id, String externalId, String name, String config)
      The default constructor for creating a projection object.
      Parameters:
      id - the database id of the object
      externalId - the API id of the object
      name - the Name of the object as a secondary comparison
      config - the configuration of the object
    • OperationNotificationIdentityProjection

      public OperationNotificationIdentityProjection()
  • Method Details

    • getExternalId

      public String getExternalId()
      Returns the current externalId on this Projection
      Returns:
      the externalId normally matches the api id
    • setExternalId

      public void setExternalId(String externalId)
      Sets the externalId of the operation notification. In this class this should not be called directly
      Parameters:
      externalId - the external API Id of the Zone
    • getName

      public String getName()
      Returns the name of the operation notification.
      Returns:
      the name of the operation notification.
    • setName

      public void setName(String name)
      Sets the name of the operation notification. In this class this should not be called directly
      Parameters:
      name - the name to set on the object
    • getId

      public Long getId()
      Description copied from class: MorpheusModel
      Gets the uniquely generated ID from the database record stored via the Morpheus appliance.
      Overrides:
      getId in class MorpheusModel
      Returns:
      id
    • setId

      public void setId(Long id)
      Description copied from class: MorpheusModel
      Used for setting the unique ID of the Pool Type. This should not be directly used.
      Overrides:
      setId in class MorpheusModel
      Parameters:
      id - unique identifer