Class StorageServerIdentityProjection
java.lang.Object
com.morpheusdata.model.MorpheusModel
com.morpheusdata.model.projection.MorpheusIdentityModel
com.morpheusdata.model.projection.StorageServerIdentityProjection
- Direct Known Subclasses:
StorageServer
Provides a subset of properties from the
StorageServer
object for doing a sync match
comparison with less bandwidth usage and memory footprint. This is a DTO Projection object-
Field Summary
Fields inherited from class com.morpheusdata.model.MorpheusModel
config, id
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionreturns the externalId also known as the API id of the equivalent object.getName()
Gets the name of the storage server.getUuid()
returns the uuid of the storage server.void
setExternalId
(String externalId) Sets the externalId of the storage server.void
Sets the name of the storage server.void
Sets the uuid of the storage server.Methods inherited from class com.morpheusdata.model.projection.MorpheusIdentityModel
getIdentityProperties
Methods inherited from class com.morpheusdata.model.MorpheusModel
getConfig, getConfigMap, getConfigProperty, getDirtyProperties, getDirtyPropertyValues, getId, getProperties, isDirty, markClean, markDirty, markDirty, setConfig, setConfigMap, setConfigProperty, setId
-
Field Details
-
name
-
externalId
-
uuid
-
-
Constructor Details
-
StorageServerIdentityProjection
public StorageServerIdentityProjection() -
StorageServerIdentityProjection
-
-
Method Details
-
getName
Gets the name of the storage server. This is on the identity projection in case a fallback match needs to happen by name- Returns:
- the current name of the storage server
-
setName
Sets the name of the storage server. Typically this isnt called directly.- Parameters:
name
- the name of the storage server to be assigned.
-
getExternalId
returns the externalId also known as the API id of the equivalent object.- Returns:
- the external id or API id of the current record
-
setExternalId
Sets the externalId of the storage server. In this class this should not be called directly- Parameters:
externalId
- the external id or API id of the current record
-
getUuid
returns the uuid of the storage server.- Returns:
- the uuid of the current record
-
setUuid
Sets the uuid of the storage server. In this class this should not be called directly- Parameters:
uuid
- the uuid of the current record
-