Class NetworkIdentityProjection
java.lang.Object
com.morpheusdata.model.MorpheusModel
com.morpheusdata.model.projection.MorpheusIdentityModel
com.morpheusdata.model.NetworkBase
com.morpheusdata.model.projection.NetworkIdentityProjection
- Direct Known Subclasses:
Network
Provides a subset of properties from the
Network
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
ConstructorDescriptionNetworkIdentityProjection
(Long id, String externalId, String name, String typeCode) -
Method Summary
Modifier and TypeMethodDescriptionreturns the externalId also known as the API id of the equivalent object.getName()
Gets the name of the Network.TheNetworkType.getCode()
is mapped here in the identity projection for quick filter search.void
setExternalId
(String externalId) Sets the externalId of the network.void
Sets the name of the Network.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
-
externalId
-
name
-
typeCode
-
-
Constructor Details
-
NetworkIdentityProjection
-
NetworkIdentityProjection
public NetworkIdentityProjection()
-
-
Method Details
-
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 network. In this class this should not be called directly- Parameters:
externalId
- the external id or API id of the current record
-
getName
Gets the name of the Network. This is on the identity projection in case a fallback match needs to happen by name- Returns:
- the current name of the network
-
setName
Sets the name of the Network. Typically this isnt called directly.- Parameters:
name
- the name of the network to be assigned.
-
getTypeCode
TheNetworkType.getCode()
is mapped here in the identity projection for quick filter search.- Returns:
- the associated
NetworkType.getCode()
-