public abstract class Channel extends java.lang.Object implements AsciiSerializable
| Constructor and Description |
|---|
Channel() |
| Modifier and Type | Method and Description |
|---|---|
abstract double |
getCelerity(double depth) |
ChannelType |
getChannelType() |
abstract double |
getDepth(double flow) |
java.lang.Object |
getFieldObject(java.lang.reflect.Field fld)
This method allows access to java.lang.reflect.Field objects within the implementing
class.
|
double |
getLength() |
void |
getLength(hec.data.ParamDouble pd) |
double |
getSlope() |
abstract double |
getTopWidth(double depth) |
int |
getUnitSystem() |
boolean |
isValid()
Checks if parameter values are valid for this channel.
|
void |
setchannelLength(hec.data.ParamDouble pd) |
boolean |
setFieldObject(java.lang.reflect.Field fld,
java.lang.Object fobj)
This allows access to fields withing the implementing object to set there data.
|
void |
setLength(double length) |
void |
setSlope(double slope) |
void |
setUnitSystem(int unitSystem) |
public double getLength()
public double getSlope()
public void setLength(double length)
public void setSlope(double slope)
public void getLength(hec.data.ParamDouble pd)
public void setchannelLength(hec.data.ParamDouble pd)
public int getUnitSystem()
public void setUnitSystem(int unitSystem)
public ChannelType getChannelType()
public boolean isValid()
throws InvalidStateException
InvalidStateExceptionpublic abstract double getCelerity(double depth)
public abstract double getTopWidth(double depth)
public abstract double getDepth(double flow)
public java.lang.Object getFieldObject(java.lang.reflect.Field fld)
FieldAccessorgetFieldObject in interface FieldAccessorfld - The field to get.public boolean setFieldObject(java.lang.reflect.Field fld,
java.lang.Object fobj)
FieldAccessorsetFieldObject in interface FieldAccessorfld - The java field object representing the member field to be setfobj - The data to set in that field