public class IDRange
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
MAX_INSTANCE_ID
Upper limit of Instance IDs.
|
static int |
MAX_OBJECT_ID
Upper limit of object IDs.
|
static int |
MAX_PROJECT_ID
Upper limit of project IDs.
|
Constructor and Description |
---|
IDRange(PDRType type,
int instance,
int project,
int lowerBound,
int upperBound)
Constructor with all necessary parameters.
|
Modifier and Type | Method and Description |
---|---|
int |
getInstance()
Returns PDR instance ID of objects in range.
|
int |
getLowerBound()
Returns the lower bound of object IDs in range.
|
int |
getProject()
Returns PDR project ID of objects in range.
|
PDRType |
getType()
Returns PDR Type of objects in range.
|
int |
getUpperBound()
Returns the upper bound of object IDs in range.
|
java.lang.String |
toString() |
public static final int MAX_INSTANCE_ID
public static final int MAX_PROJECT_ID
public static final int MAX_OBJECT_ID
public IDRange(PDRType type, int instance, int project, int lowerBound, int upperBound)
type
- PDR object type.instance
- ID of PDR instance.project
- Project ID.lowerBound
- Lower bound of specified range.upperBound
- Upper bound of specified range.public final PDRType getType()
public final int getInstance()
public final int getProject()
public final int getLowerBound()
public final int getUpperBound()
public final java.lang.String toString()
toString
in class java.lang.Object
Object.toString()