public abstract class UnitConstraint
extends java.lang.Object
Red (rowland) |
Red (rowland) |
Modifier and Type | Field and Description |
---|---|
(package private) UnitExpr |
_lhs |
(package private) java.lang.String |
_operator |
(package private) UnitExpr |
_rhs |
(package private) NamedObj |
_source |
Constructor and Description |
---|
UnitConstraint(java.lang.String string) |
UnitConstraint(UnitExpr lhs,
java.lang.String operator,
UnitExpr rhs) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
descriptiveForm() |
UnitExpr |
getLhs()
Get the left hand side.
|
java.lang.String |
getOperator() |
UnitExpr |
getRhs()
Get the right hand side.
|
NamedObj |
getSource()
Get the source of this equation.
|
void |
setLhs(UnitExpr expr) |
void |
setRhs(UnitExpr expr) |
void |
setSource(NamedObj source) |
java.lang.String |
toString() |
UnitExpr _lhs
UnitExpr _rhs
java.lang.String _operator
NamedObj _source
public UnitConstraint(java.lang.String string)
string
- public java.lang.String descriptiveForm()
public UnitExpr getLhs()
public java.lang.String getOperator()
public UnitExpr getRhs()
public NamedObj getSource()
public void setLhs(UnitExpr expr)
public void setRhs(UnitExpr expr)
public void setSource(NamedObj source)
public java.lang.String toString()
toString
in class java.lang.Object