Class RmaDataId

java.lang.Object
hec.gfx2d.swing.charts.data.RmaDataId
All Implemented Interfaces:
Comparable<RmaDataId>

public final class RmaDataId extends Object implements Comparable<RmaDataId>
Copyright (C) 2017 Hydrologic Engineering Center, United States Army Corps of Engineers, All Rights Reserved

HEC-Java NEXGEN

  • Constructor Details

    • RmaDataId

      public RmaDataId()
    • RmaDataId

      public RmaDataId(String name, String location, String description)
  • Method Details

    • getName

      public String getName()
      Returns:
      the name of the id'd item
    • setName

      public void setName(String name)
      Parameters:
      name - the new name for the id'd item
    • getLocation

      public String getLocation()
      Returns:
      the location string of the id'd item
    • setLocation

      public void setLocation(String location)
      Parameters:
      location - the new location for the id'd item
    • getDescription

      public String getDescription()
      Returns:
      the description of the id'd item
    • setDescription

      public void setDescription(String description)
      Parameters:
      description - the new description for the id'd item
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • compareTo

      public int compareTo(RmaDataId rmaDataId)
      Specified by:
      compareTo in interface Comparable<RmaDataId>