Class WikiPageIdentityProjection

  • Direct Known Subclasses:
    WikiPage

    public class WikiPageIdentityProjection
    extends MorpheusModel
    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:
    MorpheusWikiPageService
    • Field Detail

      • refType

        protected java.lang.String refType
      • refId

        protected java.lang.Long refId
      • name

        protected java.lang.String name
    • Constructor Detail

      • WikiPageIdentityProjection

        public WikiPageIdentityProjection​(java.lang.Long id,
                                          java.lang.String name,
                                          java.lang.Long refId,
                                          java.lang.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 Detail

      • getName

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

        public void setName​(java.lang.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 java.lang.Long getId()
        Returns the id of the WikiPage.
        Overrides:
        getId in class MorpheusModel
        Returns:
        the id of the WikiPage.
      • setId

        public void setId​(java.lang.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 java.lang.String getRefType()
        Returns the refType of the WikiPage.
        Returns:
        the refType of the WikiPage.
      • setRefType

        public void setRefType​(java.lang.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 java.lang.Long getRefId()
        Returns the refId of the WikiPage.
        Returns:
        the refId of the WikiPage.
      • setRefId

        public void setRefId​(java.lang.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