Class MetadataTagTypeIdentityProjection

Direct Known Subclasses:

public class MetadataTagTypeIdentityProjection extends MorpheusIdentityModel
Provides a subset of properties from the MetadataTagType 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
    • refType

      protected String refType
    • refId

      protected Long refId
    • name

      protected String name
  • Constructor Details

    • MetadataTagTypeIdentityProjection

      public MetadataTagTypeIdentityProjection(Long id, String externalId, String name, Long refId, String refType)
      The default constructor for creating a projection object.
      id - the database id of the object
      externalId - the API id of the object
      name - the Name of the object as a secondary comparison
      refId - the id of the object of type refType. Typically the id of the Cloud for Cloud related tags
      refType - the type of the object referenced. Typically 'ComputeZone' for Cloud related tags
    • MetadataTagTypeIdentityProjection

      public MetadataTagTypeIdentityProjection()
  • Method Details

    • getExternalId

      public String getExternalId()
      Returns the current externalId on this Projection
      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
      externalId - the external API Id of the Zone
    • getName

      public String getName()
      Returns the name of the MetadataTagType.
      the name of the MetadataTagType.
    • setName

      public void setName(String name)
      Sets the name of the MetadataTagTypen. In this class this should not be called directly
      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.
      getId in class MorpheusModel
    • 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.
      setId in class MorpheusModel
      id - unique identifer
    • getRefType

      public String getRefType()
    • setRefType

      public void setRefType(String refType)
    • getRefId

      public Long getRefId()
    • setRefId

      public void setRefId(Long refId)