public class SDODimElement
extends java.lang.Object
Constructor and Description |
---|
SDODimElement(java.lang.String dimName, double lowerBound, double upperBound, double tolerance)
Allocates a new instance initialized with the given values.
|
Modifier and Type | Method and Description |
---|---|
SDODimElement |
createCopy()
Returns a copy of the object.
|
boolean |
equals(java.lang.Object anObj) |
java.lang.String |
getDimName()
Gets the dimension's name
|
double |
getLowerBound()
Gets the dimension's lower boundary
|
double |
getTolerance()
Gets the dimension's tolerance value
|
double |
getUpperBound()
Gets the dimension's upper boundary
|
void |
setDimName(java.lang.String dimName)
Sets the dimension's name
|
void |
setLowerBound(double lowerBound)
Sets the dimension's lower boundary
|
void |
setTolerance(double tolerance)
Sets the dimension's tolerance value
|
void |
setUpperBound(double upperBound)
Sets the dimension's upper boundary
|
java.lang.String |
toString() |
public SDODimElement(java.lang.String dimName, double lowerBound, double upperBound, double tolerance)
dimName
- the dimension namelowerBound
- the dimension lower boundaryupperBound
- the dimension upper boundarytolerance
- the tolerancepublic java.lang.String getDimName()
public void setDimName(java.lang.String dimName)
dimName
- the dimension's namepublic double getLowerBound()
public void setLowerBound(double lowerBound)
lowerBound
- the dimension's lower boundarypublic double getUpperBound()
public void setUpperBound(double upperBound)
upperBound
- the dimension's upper boundarypublic double getTolerance()
public void setTolerance(double tolerance)
tolerance
- the dimension's tolerance valuepublic java.lang.String toString()
toString
in class java.lang.Object
public SDODimElement createCopy()
public boolean equals(java.lang.Object anObj)
equals
in class java.lang.Object