Class DigitalLocationRequestBody

  • All Implemented Interfaces:
    Serializable

    public class DigitalLocationRequestBody
    extends Object
    implements Serializable
    DigitalLocationRequestBody carries the parameters for marking a location as a digital (cyber) location.
    See Also:
    Serialized Form
    • Constructor Detail

      • DigitalLocationRequestBody

        public DigitalLocationRequestBody()
        Default constructor
      • DigitalLocationRequestBody

        public DigitalLocationRequestBody​(DigitalLocationRequestBody template)
        Copy/clone constructor
        Parameters:
        template - object to copy
    • Method Detail

      • getNetworkAddress

        public String getNetworkAddress()
        Return the network address used to connect to the location.
        Returns:
        string name - often a URL
      • setNetworkAddress

        public void setNetworkAddress​(String networkAddress)
        Set up the network address used to connect to the location.
        Parameters:
        networkAddress - string name - often a URL
      • toString

        public String toString()
        JSON-style toString
        Overrides:
        toString in class Object
        Returns:
        return string containing the property names and values
      • equals

        public boolean equals​(Object objectToCompare)
        Return comparison result based on the content of the properties.
        Overrides:
        equals in class Object
        Parameters:
        objectToCompare - test object
        Returns:
        result of comparison
      • hashCode

        public int hashCode()
        Return hash code for this object
        Overrides:
        hashCode in class Object
        Returns:
        int hash code