Package oracle.spatial.network.nfe.model
Class SDODimElement
- java.lang.Object
-
- oracle.spatial.network.nfe.model.SDODimElement
-
public class SDODimElement extends java.lang.ObjectThis 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 SDODimElementcreateCopy()Returns a copy of the object.booleanequals(java.lang.Object anObj)java.lang.StringgetDimName()Gets the dimension's namedoublegetLowerBound()Gets the dimension's lower boundarydoublegetTolerance()Gets the dimension's tolerance valuedoublegetUpperBound()Gets the dimension's upper boundaryvoidsetDimName(java.lang.String dimName)Sets the dimension's namevoidsetLowerBound(double lowerBound)Sets the dimension's lower boundaryvoidsetTolerance(double tolerance)Sets the dimension's tolerance valuevoidsetUpperBound(double upperBound)Sets the dimension's upper boundaryjava.lang.StringtoString()
-
-
-
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:
toStringin 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:
equalsin classjava.lang.Object
-
-