Class NetworkSubnetIdentityProjection

Direct Known Subclasses:

public class NetworkSubnetIdentityProjection extends NetworkBase
Provides a subset of properties from the NetworkSubnet object for doing a sync match comparison with less bandwidth usage and memory footprint. This is a DTO Projection object
See Also:
  • Field Details

    • externalId

      protected String externalId
    • name

      protected String name
    • typeCode

      protected String typeCode
  • Constructor Details

    • NetworkSubnetIdentityProjection

      public NetworkSubnetIdentityProjection(Long id, String externalId, String name, String typeCode)
    • NetworkSubnetIdentityProjection

      public NetworkSubnetIdentityProjection()
  • Method Details

    • getExternalId

      public String getExternalId()
      returns the externalId also known as the API id of the equivalent object.
      the external id or API id of the current record
    • setExternalId

      public void setExternalId(String externalId)
      Sets the externalId of the network. In this class this should not be called directly
      externalId - the external id or API id of the current record
    • getName

      public String getName()
      Gets the name of the NetworkSubnet. This is on the identity projection in case a fallback match needs to happen by name
      the current name of the network subnet
    • setName

      public void setName(String name)
      Sets the name of the NetworkSubnet. Typically this isnt called directly.
      name - the name of the network subnet to be assigned.
    • getTypeCode

      public String getTypeCode()
      The NetworkSubnetType.getCode() is mapped here in the identity projection for quick filter search.
      the associated NetworkSubnetType.getCode()