Class WikiPageIdentityProjection

Direct Known Subclasses:
WikiPage

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

    • refType

      protected String refType
    • refId

      protected Long refId
    • name

      protected String name
  • Constructor Details

    • WikiPageIdentityProjection

      public WikiPageIdentityProjection(Long id, String name, Long refId, String refType)
      The default constructor for creating a projection object.
      Parameters:
      id - the database 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
    • WikiPageIdentityProjection

      public WikiPageIdentityProjection()
  • Method Details

    • getName

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

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

      public Long getId()
      Returns the id of the WikiPage.
      Overrides:
      getId in class MorpheusModel
      Returns:
      the id of the WikiPage.
    • setId

      public void setId(Long id)
      Sets the id of the WikiPage. In this class this should not be called directly
      Overrides:
      setId in class MorpheusModel
      Parameters:
      id - the id to set on the object
    • getRefType

      public String getRefType()
      Returns the refType of the WikiPage.
      Returns:
      the refType of the WikiPage.
    • setRefType

      public void setRefType(String refType)
      Sets the refType of the WikiPage. In this class this should not be called directly
      Parameters:
      refType - the refType to set on the object
    • getRefId

      public Long getRefId()
      Returns the refId of the WikiPage.
      Returns:
      the refId of the WikiPage.
    • setRefId

      public void setRefId(Long refId)
      Sets the refId of the WikiPage. In this class this should not be called directly
      Parameters:
      refId - the refId to set on the object