Package oracle.spatial.network.nfe.model
Class SDODimElement
- java.lang.Object
-
- oracle.spatial.network.nfe.model.SDODimElement
-
public class SDODimElement extends java.lang.Object
This class contains information regarding a spatial dimension such as boundaries and tolerance.
-
-
Constructor Summary
Constructors Constructor Description SDODimElement(java.lang.String dimName, double lowerBound, double upperBound, double tolerance)
Allocates a new instance initialized with the given values.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SDODimElement
createCopy()
Returns a copy of the object.boolean
equals(java.lang.Object anObj)
java.lang.String
getDimName()
Gets the dimension's namedouble
getLowerBound()
Gets the dimension's lower boundarydouble
getTolerance()
Gets the dimension's tolerance valuedouble
getUpperBound()
Gets the dimension's upper boundaryvoid
setDimName(java.lang.String dimName)
Sets the dimension's namevoid
setLowerBound(double lowerBound)
Sets the dimension's lower boundaryvoid
setTolerance(double tolerance)
Sets the dimension's tolerance valuevoid
setUpperBound(double upperBound)
Sets the dimension's upper boundaryjava.lang.String
toString()
-
-
-
Constructor Detail
-
SDODimElement
public SDODimElement(java.lang.String dimName, double lowerBound, double upperBound, double tolerance)
Allocates a new instance initialized with the given values.- Parameters:
dimName
- the dimension namelowerBound
- the dimension lower boundaryupperBound
- the dimension upper boundarytolerance
- the tolerance
-
-
Method Detail
-
getDimName
public java.lang.String getDimName()
Gets the dimension's name- Returns:
- the dimension's name
-
setDimName
public void setDimName(java.lang.String dimName)
Sets the dimension's name- Parameters:
dimName
- the dimension's name
-
getLowerBound
public double getLowerBound()
Gets the dimension's lower boundary- Returns:
- the dimension's lower boundary
-
setLowerBound
public void setLowerBound(double lowerBound)
Sets the dimension's lower boundary- Parameters:
lowerBound
- the dimension's lower boundary
-
getUpperBound
public double getUpperBound()
Gets the dimension's upper boundary- Returns:
- the dimension's upper boundary
-
setUpperBound
public void setUpperBound(double upperBound)
Sets the dimension's upper boundary- Parameters:
upperBound
- the dimension's upper boundary
-
getTolerance
public double getTolerance()
Gets the dimension's tolerance value- Returns:
- the dimension's tolerance value
-
setTolerance
public void setTolerance(double tolerance)
Sets the dimension's tolerance value- Parameters:
tolerance
- the dimension's tolerance value
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
createCopy
public SDODimElement createCopy()
Returns a copy of the object.- Returns:
- copy of the object
-
equals
public boolean equals(java.lang.Object anObj)
- Overrides:
equals
in classjava.lang.Object
-
-