Class DigitalLocationRequestBody

java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.DigitalLocationRequestBody

public class DigitalLocationRequestBody extends Object
DigitalLocationRequestBody carries the parameters for marking a location as a digital (cyber) location.
  • Constructor Details

    • DigitalLocationRequestBody

      public DigitalLocationRequestBody()
      Default constructor
    • DigitalLocationRequestBody

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

    • 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