Class NetworkDomainIdentityProjection

  • Direct Known Subclasses:
    NetworkDomain

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

      • externalId

        protected java.lang.String externalId
      • name

        protected java.lang.String name
    • Constructor Detail

      • NetworkDomainIdentityProjection

        public NetworkDomainIdentityProjection​(java.lang.Long id,
                                               java.lang.String externalId,
                                               java.lang.String name)
        The default constructor for creating a projection object.
        Parameters:
        id - the database id of the object
        externalId - the API id of the object
        name - the Name of the object as a secondary comparison
      • NetworkDomainIdentityProjection

        public NetworkDomainIdentityProjection()
    • Method Detail

      • getExternalId

        public java.lang.String getExternalId()
        Returns the current externalId on this Projection
        Returns:
        the externalId normally matches the api id
      • setExternalId

        public void setExternalId​(java.lang.String externalId)
        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

        public java.lang.String getName()
        Returns the name of the network domain.
        Returns:
        the name of the network domain.
      • setName

        public void setName​(java.lang.String name)
        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

        public java.lang.Long getId()
        Description copied from class: MorpheusModel
        Gets the uniquely generated ID from the database record stored via the Morpheus appliance.
        Overrides:
        getId in class MorpheusModel
        Returns:
        id
      • setId

        public void setId​(java.lang.Long id)
        Description copied from class: MorpheusModel
        Used for setting the unique ID of the Pool Type. This should not be directly used.
        Overrides:
        setId in class MorpheusModel
        Parameters:
        id - unique identifer