public class SDODimArray
extends java.lang.Object
| Constructor and Description |
|---|
SDODimArray(int noOfDims, double lowerBound, double upperBound, double tolerance)
Constructs an SDODimArray object with the default dimension names ("X","Y","Z","M") and the given lower bounds, upper bounds ,and tolerances.
|
SDODimArray(java.lang.String[] names, double[] lowerBounds, double[] upperBounds, double[] tolerances)
Constructs an SDODimArray object.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDimName(int index)
Returns the specified dimension name.
|
double |
getLowerBound(int index)
Returns the specified lower bound.
|
int |
getNoOfDims()
Returns the number of dimensions.
|
double |
getUpperBound(int index)
Returns the specified upper bound.
|
java.lang.String |
toSQLString()
Returns a SQL string for constructing a database SDO_DIM_ARRAY object
|
java.lang.String |
toString() |
public SDODimArray(java.lang.String[] names,
double[] lowerBounds,
double[] upperBounds,
double[] tolerances)
names - the dimension nameslowerBounds - the lower bounds for each dimensionupperBounds - the upper bounds for each dimensiontolerances - the tolerances for each dimension
public SDODimArray(int noOfDims,
double lowerBound,
double upperBound,
double tolerance)
noOfDims - the number of dimensionslowerBound - the lower bound for each dimensionupperBound - the upper bound for each dimensiontolerance - the tolerance for each dimensionpublic int getNoOfDims()
public java.lang.String getDimName(int index)
public double getUpperBound(int index)
public double getLowerBound(int index)
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toSQLString()