Package hec.data.pool

Class PoolName

java.lang.Object
hec.data.pool.PoolName
All Implemented Interfaces:
IPoolName

public class PoolName extends Object implements IPoolName
Represents the database PoolName information.
  • Constructor Details

    • PoolName

      public PoolName(String poolName, String officeId)
      Constructs a new PoolName for the given pool name and office ID
      Parameters:
      poolName - Pool name as text
      officeId - Office ID
  • Method Details

    • getPoolName

      public String getPoolName()
      Description copied from interface: IPoolName
      Returns the pool name as text
      Specified by:
      getPoolName in interface IPoolName
      Returns:
      Pool name text
    • getOfficeId

      public String getOfficeId()
      Description copied from interface: IPoolName
      Returns the office ID
      Specified by:
      getOfficeId in interface IPoolName
      Returns:
      Office ID
    • hashCode

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

      public PoolNameRef asRef()
      Description copied from interface: IPoolName
      Creates a new PoolNameRef object that can be used for retrieval of data.
      Specified by:
      asRef in interface IPoolName
      Returns:
      New PoolNameRef instance containing all of the information in this instance.
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object