Class NetworkPoolIdentityProjection

  • Direct Known Subclasses:
    NetworkPool

    public class NetworkPoolIdentityProjection
    extends MorpheusModel
    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:
    MorpheusNetworkPoolService
    • Field Detail

      • externalId

        protected java.lang.String externalId
      • typeCode

        protected java.lang.String typeCode
      • category

        protected java.lang.String category
      • accountId

        protected java.lang.Long accountId
    • 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 object
        externalId - the API id of the object
        category - the category of the object
        accountId - 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 object
        externalId - the API id of the object
        typeCode - the type code from the NetworkPoolType
      • 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 object
        externalId - the API id of the object
        category - the category of the object
        accountId - 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 the NetworkPoolType 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 the NetworkPoolType this pool belongs to. Pool type codes are globally unique.
        Parameters:
        typeCode - the code correlating to the NetworkPoolType 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