Package hec.data.pool
Class PoolRef
java.lang.Object
hec.data.pool.PoolRef
Represents the information required for retrieving IPool objects from the database.
-
Constructor Summary
ConstructorsConstructorDescriptionPoolRef
(PoolNameRef poolNameRef) Creates a PoolRef given a PoolNameRef instance.PoolRef
(PoolNameRef poolNameRef, String projectIdMask) Creates a new PoolRef object given a PoolNameRef and the Project ID.PoolRef
(PoolNameRef poolNameRef, String projectIdMask, String bottomLevelMask, String topLevelMask) Creates a new PoolRef given a PoolNameRef, Project ID mask, and Top and Bottom level masks. -
Method Summary
Modifier and TypeMethodDescriptionstatic PoolRef
all()
Creates a new PoolRef that can be used to retrieve all pools.boolean
Returns the glob style Bottom Location Level Mask for this pool ref.Returns the PoolNameRef instance for this pool ref.Returns the glob style Project ID mask for this pool ref.Returns the glob style Top Location Level Mask for this pool ref.int
hashCode()
-
Constructor Details
-
PoolRef
public PoolRef(PoolNameRef poolNameRef, String projectIdMask, String bottomLevelMask, String topLevelMask) Creates a new PoolRef given a PoolNameRef, Project ID mask, and Top and Bottom level masks.- Parameters:
poolNameRef
-projectIdMask
-bottomLevelMask
-topLevelMask
-
-
PoolRef
Creates a new PoolRef object given a PoolNameRef and the Project ID. The top and bottom location levels are set to "*" masks.- Parameters:
poolNameRef
- PoolName information for retrievalprojectIdMask
- Project ID mask
-
PoolRef
Creates a PoolRef given a PoolNameRef instance. The Project ID, top and bottom location levels are set to "*" masks.- Parameters:
poolNameRef
-
-
-
Method Details
-
all
Creates a new PoolRef that can be used to retrieve all pools.- Returns:
- New PoolRef for retrieving all Pools.
-
getPoolNameRef
Returns the PoolNameRef instance for this pool ref.- Returns:
- PoolNameRef for this pool ref.
-
getProjectIdMask
Returns the glob style Project ID mask for this pool ref.- Returns:
- Glob style Project ID mask.
-
getBottomLevelMask
Returns the glob style Bottom Location Level Mask for this pool ref.- Returns:
- Glob style Bottom Location Level Mask
-
getTopLevelMask
Returns the glob style Top Location Level Mask for this pool ref.- Returns:
- Glob style Top Location Level Mask
-
hashCode
public int hashCode() -
equals
-