Class NetworkPoolIdentityProjection
- java.lang.Object
-
- com.morpheusdata.model.MorpheusModel
-
- com.morpheusdata.model.projection.NetworkPoolIdentityProjection
-
- Direct Known Subclasses:
NetworkPool
public class NetworkPoolIdentityProjection extends MorpheusModel
Provides a subset of properties from theNetworkPool
object for doing a sync match comparison with less bandwidth usage and memory footprint. This is a DTO Projection object- See Also:
MorpheusNetworkPoolService
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Long
accountId
protected java.lang.String
category
protected java.lang.String
externalId
protected java.lang.String
typeCode
-
Fields inherited from class com.morpheusdata.model.MorpheusModel
config, id
-
-
Constructor Summary
Constructors Constructor Description NetworkPoolIdentityProjection()
NetworkPoolIdentityProjection(java.lang.Long id, java.lang.String externalId, java.lang.String typeCode)
The default constructor for creating a projection object.NetworkPoolIdentityProjection(java.lang.Long id, java.lang.String externalId, java.lang.String category, java.lang.Long accountId)
The default constructor for creating a projection object.NetworkPoolIdentityProjection(java.lang.Long id, java.lang.String externalId, java.lang.String typeCode, java.lang.String category, java.lang.Long accountId)
The default constructor for creating a projection object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Long
getAccountId()
returns the account ID of the equivalent object.java.lang.String
getCategory()
java.lang.String
getExternalId()
returns the externalId also known as the API id of the equivalent object.java.lang.String
getTypeCode()
Gets the unique code correlating to theNetworkPoolType
this pool belongs to.void
setAccountId(java.lang.Long accountId)
Sets the account ID of the network pool.void
setCategory(java.lang.String category)
Sets the category of the network pool.void
setExternalId(java.lang.String externalId)
Sets the externalId of the network pool.void
setTypeCode(java.lang.String typeCode)
Sets the unique code correlating to theNetworkPoolType
this pool belongs to.-
Methods inherited from class com.morpheusdata.model.MorpheusModel
getConfig, getConfigMap, getConfigProperty, getDirtyProperties, getDirtyPropertyValues, getId, getProperties, isDirty, markClean, markDirty, markDirty, setConfig, setConfigMap, setConfigProperty, setId
-
-
-
-
Constructor Detail
-
NetworkPoolIdentityProjection
public NetworkPoolIdentityProjection(java.lang.Long id, java.lang.String externalId, java.lang.String category, java.lang.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(java.lang.Long id, java.lang.String externalId, java.lang.String typeCode)
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(java.lang.Long id, java.lang.String externalId, java.lang.String typeCode, java.lang.String category, java.lang.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 Detail
-
getExternalId
public java.lang.String 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
public void setExternalId(java.lang.String externalId)
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
public java.lang.String 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
public void setTypeCode(java.lang.String typeCode)
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
public java.lang.String getCategory()
-
setCategory
public void setCategory(java.lang.String category)
Sets the category of the network pool. In this class this should not be called directly- Parameters:
category
- of the current record
-
getAccountId
public java.lang.Long getAccountId()
returns the account ID of the equivalent object.- Returns:
- the account ID of the current record
-
setAccountId
public void setAccountId(java.lang.Long accountId)
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
-
-