Class WikiPageIdentityProjection
- java.lang.Object
-
- com.morpheusdata.model.MorpheusModel
-
- com.morpheusdata.model.projection.WikiPageIdentityProjection
-
- Direct Known Subclasses:
WikiPage
public class WikiPageIdentityProjection extends MorpheusModel
Provides a subset of properties from theWikiPage
object for doing a sync match comparison with less bandwidth usage and memory footprint. This is a DTO Projection object- See Also:
MorpheusWikiPageService
-
-
Constructor Summary
Constructors Constructor Description WikiPageIdentityProjection()
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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Long
getId()
Returns the id of the WikiPage.java.lang.String
getName()
Returns the name of the WikiPage.java.lang.Long
getRefId()
Returns the refId of the WikiPage.java.lang.String
getRefType()
Returns the refType of the WikiPage.void
setId(java.lang.Long id)
Sets the id of the WikiPage.void
setName(java.lang.String name)
Sets the name of the WikiPage.void
setRefId(java.lang.Long refId)
Sets the refId of the WikiPage.void
setRefType(java.lang.String refType)
Sets the refType of the WikiPage.-
Methods inherited from class com.morpheusdata.model.MorpheusModel
getConfig, getConfigMap, getConfigProperty, getDirtyProperties, getDirtyPropertyValues, getProperties, isDirty, markClean, markDirty, markDirty, setConfig, setConfigMap, setConfigProperty
-
-
-
-
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 objectname
- the Name of the object as a secondary comparisonrefId
- the id of the object of type refType. Typically the id of the Cloud for Cloud related tagsrefType
- 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 classMorpheusModel
- 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 classMorpheusModel
- 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
-
-