Package hec.data.pool
Class Pool
java.lang.Object
hec.data.pool.Pool
- All Implemented Interfaces:
IPool
Pool object that represents the pool information retrieved from the database as HecJavaDev objects.
-
Constructor Summary
ConstructorsConstructorDescriptionPool
(IPoolName poolName, LocationTemplate projectLocation, ILocationLevelRef bottomLevel, ILocationLevelRef topLevel) Constructs a new Pool given the PoolName information, Project LocationTemplate, and top and bottom ILocationLevelRef'sPool
(IPoolName poolName, LocationTemplate projectLocation, ILocationLevelRef bottomLevel, ILocationLevelRef topLevel, boolean implicit) -
Method Summary
Modifier and TypeMethodDescriptionasRef()
Creates a new PoolRef that contains all information associated with this pool.boolean
Returns the bottom location level as a ref object.Returns the pool name information for this pool.Returns the Project location as a LocationTemplate.Returns the top location level as a ref object.int
hashCode()
boolean
Determines if the pool is implicitly created by the database API's.
-
Constructor Details
-
Pool
public Pool(IPoolName poolName, LocationTemplate projectLocation, ILocationLevelRef bottomLevel, ILocationLevelRef topLevel) Constructs a new Pool given the PoolName information, Project LocationTemplate, and top and bottom ILocationLevelRef's- Parameters:
poolName
- Pool name dataprojectLocation
- Project LocationTemplate instancebottomLevel
- Bottom location level referencetopLevel
- Top location level reference
-
Pool
public Pool(IPoolName poolName, LocationTemplate projectLocation, ILocationLevelRef bottomLevel, ILocationLevelRef topLevel, boolean implicit)
-
-
Method Details
-
getPoolName
Description copied from interface:IPool
Returns the pool name information for this pool.- Specified by:
getPoolName
in interfaceIPool
- Returns:
- Pool name information
-
getProjectLocationTemplate
Description copied from interface:IPool
Returns the Project location as a LocationTemplate. This uses the same office as the IPoolName.- Specified by:
getProjectLocationTemplate
in interfaceIPool
- Returns:
- Project location object
-
getBottomLocationLevel
Description copied from interface:IPool
Returns the bottom location level as a ref object.- Specified by:
getBottomLocationLevel
in interfaceIPool
- Returns:
- Bottom location level object
-
getTopLocationLevel
Description copied from interface:IPool
Returns the top location level as a ref object.- Specified by:
getTopLocationLevel
in interfaceIPool
- Returns:
- Top location level object.
-
isImplicit
public boolean isImplicit()Description copied from interface:IPool
Determines if the pool is implicitly created by the database API's.- Specified by:
isImplicit
in interfaceIPool
- Returns:
- True when the pool is implicitly created by the database.
-
asRef
Description copied from interface:IPool
Creates a new PoolRef that contains all information associated with this pool. -
hashCode
public int hashCode() -
equals
-