public class IlvObjectSDODimElement extends Object implements IlvPersistentObject
MDSYS.SDO_DIM_ARRAY data type.
A dimension is defined by its name, lower bound, upper bound and
tolerance. The role of the dimensions is to describe the extent of a layer.
For more information about this data type, please refer to the
Oracle Spatial documentation.| Constructor and Description |
|---|
IlvObjectSDODimElement(IlvInputStream stream)
Reads an
IlvObjectSDODimElement from the specified stream. |
IlvObjectSDODimElement(String dimName,
double lowerBound,
double upperBound,
double tolerance)
Constructs a new dim element.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDimName()
Returns the dimension name.
|
double |
getLowerBound()
Returns the lower bound of this dimension.
|
double |
getTolerance()
Returns the tolerance of this dimension.
|
double |
getUpperBound()
Returns the upper bound of this dimension.
|
void |
setDimName(String name)
Sets the dimension name.
|
void |
setLowerBound(double lowerBound)
Returns the lower bound of this dimension.
|
void |
setTolerance(double tolerance)
Sets the tolerance of this dimension.
|
void |
setUpperBound(double upperBound)
Sets the upper bound of this dimension.
|
String |
toString()
Returns a string representation of this dimension.
|
void |
write(IlvOutputStream stream)
Writes this dim element to the specified stream.
|
public IlvObjectSDODimElement(String dimName, double lowerBound, double upperBound, double tolerance)
dimName - The name of the dimension, "X", or "Y" for instance.lowerBound - The lower bound of the dimension.upperBound - The upper bound of the dimension.tolerance - The tolerance of the dimension.public IlvObjectSDODimElement(IlvInputStream stream) throws IlvReadFileException
IlvObjectSDODimElement from the specified stream.stream - The stream.IlvReadFileExceptionpublic void write(IlvOutputStream stream) throws IOException
write in interface IlvPersistentObjectstream - The stream.IOException - thrown when an exception occurs during
the write operation for this object.public String getDimName()
public double getLowerBound()
public double getUpperBound()
public double getTolerance()
public void setDimName(String name)
name - The name of this dimension.public void setLowerBound(double lowerBound)
lowerBound - The lower bound value of this dimension.public void setUpperBound(double upperBound)
upperBound - Sets the upper bound of this dimension.public void setTolerance(double tolerance)
© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.