Class WikiPageIdentityProjection
java.lang.Object
com.morpheusdata.model.MorpheusModel
com.morpheusdata.model.projection.MorpheusIdentityModel
com.morpheusdata.model.projection.WikiPageIdentityProjection
- Direct Known Subclasses:
WikiPage
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 Summary
Fields inherited from class com.morpheusdata.model.MorpheusModel
config, id
-
Constructor Summary
ConstructorDescriptionWikiPageIdentityProjection
(Long id, String name, Long refId, String refType) The default constructor for creating a projection object. -
Method Summary
Modifier and TypeMethodDescriptiongetId()
Returns the id of the WikiPage.getName()
Returns the name of the WikiPage.getRefId()
Returns the refId of the WikiPage.Returns the refType of the WikiPage.void
Sets the id of the WikiPage.void
Sets the name of the WikiPage.void
Sets the refId of the WikiPage.void
setRefType
(String refType) Sets the refType of the WikiPage.Methods inherited from class com.morpheusdata.model.projection.MorpheusIdentityModel
getIdentityProperties
Methods inherited from class com.morpheusdata.model.MorpheusModel
getConfig, getConfigMap, getConfigProperty, getDirtyProperties, getDirtyPropertyValues, getProperties, isDirty, markClean, markDirty, markDirty, setConfig, setConfigMap, setConfigProperty
-
Field Details
-
refType
-
refId
-
name
-
-
Constructor Details
-
WikiPageIdentityProjection
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 Details
-
getName
Returns the name of the WikiPage.- Returns:
- the name of the WikiPage.
-
setName
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
Returns the id of the WikiPage.- Overrides:
getId
in classMorpheusModel
- Returns:
- the id of the WikiPage.
-
setId
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
Returns the refType of the WikiPage.- Returns:
- the refType of the WikiPage.
-
setRefType
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
Returns the refId of the WikiPage.- Returns:
- the refId of the WikiPage.
-
setRefId
Sets the refId of the WikiPage. In this class this should not be called directly- Parameters:
refId
- the refId to set on the object
-