Class NetworkPoolIdentityProjection
java.lang.Object
com.morpheusdata.model.MorpheusModel
com.morpheusdata.model.projection.MorpheusIdentityModel
com.morpheusdata.model.projection.NetworkPoolIdentityProjection
- Direct Known Subclasses:
NetworkPool
Provides a subset of properties from the
NetworkPool
object for doing a sync match
comparison with less bandwidth usage and memory footprint. This is a DTO Projection object- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected Long
protected String
protected String
protected String
Fields inherited from class com.morpheusdata.model.MorpheusModel
config, id
-
Constructor Summary
ConstructorDescriptionNetworkPoolIdentityProjection
(Long id, String externalId, String typeCode) The default constructor for creating a projection object.NetworkPoolIdentityProjection
(Long id, String externalId, String category, Long accountId) The default constructor for creating a projection object.NetworkPoolIdentityProjection
(Long id, String externalId, String typeCode, String category, Long accountId) The default constructor for creating a projection object. -
Method Summary
Modifier and TypeMethodDescriptionreturns the account ID of the equivalent object.returns the externalId also known as the API id of the equivalent object.Gets the unique code correlating to theNetworkPoolType
this pool belongs to.void
setAccountId
(Long accountId) Sets the account ID of the network pool.void
setCategory
(String category) Sets the category of the network pool.void
setExternalId
(String externalId) Sets the externalId of the network pool.void
setTypeCode
(String typeCode) Sets the unique code correlating to theNetworkPoolType
this pool belongs to.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
-
typeCode
-
category
-
accountId
-
-
Constructor Details
-
NetworkPoolIdentityProjection
The default constructor for creating a projection object.- Parameters:
id
- the database id of the objectexternalId
- the API id of the objectcategory
- the category of the objectaccountId
- the account id of the object
-
NetworkPoolIdentityProjection
The default constructor for creating a projection object.- Parameters:
id
- the database id of the objectexternalId
- the API id of the objecttypeCode
- the type code from theNetworkPoolType
-
NetworkPoolIdentityProjection
public NetworkPoolIdentityProjection(Long id, String externalId, String typeCode, String category, Long accountId) The default constructor for creating a projection object.- Parameters:
id
- the database id of the objectexternalId
- the API id of the objectcategory
- the category of the objectaccountId
- the account id of the object
-
NetworkPoolIdentityProjection
public NetworkPoolIdentityProjection()
-
-
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 pool. In this class this should not be called directly- Parameters:
externalId
- the external id or API id of the current record
-
getTypeCode
Gets the unique code correlating to theNetworkPoolType
this pool belongs to. Pool type codes are globally unique.- Returns:
- the code correlating to the
NetworkPoolType
this record belongs to.
-
setTypeCode
Sets the unique code correlating to theNetworkPoolType
this pool belongs to. Pool type codes are globally unique.- Parameters:
typeCode
- the code correlating to theNetworkPoolType
this record belongs to.
-
getCategory
-
setCategory
Sets the category of the network pool. In this class this should not be called directly- Parameters:
category
- of the current record
-
getAccountId
returns the account ID of the equivalent object.- Returns:
- the account ID of the current record
-
setAccountId
Sets the account ID of the network pool. In this class this should not be called directly- Parameters:
accountId
- account ID of the current record
-