Class NetworkDomainIdentityProjection
java.lang.Object
com.morpheusdata.model.MorpheusModel
com.morpheusdata.model.projection.MorpheusIdentityModel
com.morpheusdata.model.projection.NetworkDomainIdentityProjection
- Direct Known Subclasses:
NetworkDomain
Provides a subset of properties from the
NetworkDomain
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
ConstructorDescriptionNetworkDomainIdentityProjection
(Long id, String externalId, String name) The default constructor for creating a projection object. -
Method Summary
Modifier and TypeMethodDescriptionReturns the current externalId on this ProjectiongetId()
Gets the uniquely generated ID from the database record stored via the Morpheus appliance.getName()
Returns the name of the network domain.void
setExternalId
(String externalId) Sets the externalId of the network domain.void
Used for setting the unique ID of the Pool Type.void
Sets the name of the network domain.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
-
externalId
-
name
-
-
Constructor Details
-
NetworkDomainIdentityProjection
The default constructor for creating a projection object.- Parameters:
id
- the database id of the objectexternalId
- the API id of the objectname
- the Name of the object as a secondary comparison
-
NetworkDomainIdentityProjection
public NetworkDomainIdentityProjection()
-
-
Method Details
-
getExternalId
Returns the current externalId on this Projection- Returns:
- the externalId normally matches the api id
-
setExternalId
Sets the externalId of the network domain. In this class this should not be called directly- Parameters:
externalId
- the external API Id of the Zone
-
getName
Returns the name of the network domain.- Returns:
- the name of the network domain.
-
setName
Sets the name of the network domain. In this class this should not be called directly- Parameters:
name
- the name to set on the object
-
getId
Description copied from class:MorpheusModel
Gets the uniquely generated ID from the database record stored via the Morpheus appliance.- Overrides:
getId
in classMorpheusModel
- Returns:
- id
-
setId
Description copied from class:MorpheusModel
Used for setting the unique ID of the Pool Type. This should not be directly used.- Overrides:
setId
in classMorpheusModel
- Parameters:
id
- unique identifer
-