public class Controller extends NamedType implements TSLocation
_description, _index, _name, defaultDescription, defaultName, DESCRIPTION_CHANGED, NAME_CHANGED, RENAME_EVENT| Constructor and Description |
|---|
Controller()
Deprecated.
|
Controller(AdjustableDiversion func)
Deprecated.
|
Controller(Operations op)
Deprecated.
|
Controller(Operations op,
int idx)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addRule(Rule rule)
Deprecated.
|
java.lang.Object |
clone()
Deprecated.
Creates a new object of the same class as this object.
|
Element |
findElement(java.lang.String name)
Deprecated.
|
Rule |
findRule(java.lang.String name)
Deprecated.
|
double[] |
findTSArray(java.lang.String locType,
java.lang.String locName,
java.lang.String param)
Deprecated.
|
java.util.Vector |
getActiveTSRecordProxies(java.util.Vector vec,
int iotype)
Deprecated.
add the time series record proxies associated with the active operation set to the given vector
|
java.lang.String |
getAdjParamElementName()
Deprecated.
|
AdjustableDiversion |
getDiversionFunction()
Deprecated.
|
java.lang.Object |
getFieldObject(java.lang.reflect.Field fld)
Deprecated.
This method allows access to java.lang.reflect.Field objects within the implementing
class.
|
Operations |
getOperations()
Deprecated.
|
java.util.List |
getRuleConnectivityRefs(boolean recurse)
Deprecated.
Returns a List of RuleConnectivityRef objects identifying all rule
references to other objects in the network.
|
double |
getRuleValue(AdjustableParameter adjparam,
RunTimeStep runtime)
Deprecated.
|
java.util.Vector |
getRuleVector()
Deprecated.
|
RssSystem |
getSystem()
Deprecated.
|
TSDataSet |
getTSDataSet(boolean isInput)
Deprecated.
returns the input or output TSData set currently associated with this loation
|
java.util.Vector |
getTSRecordProxies(boolean isInput)
Deprecated.
|
int |
getUnitSystem()
Deprecated.
|
double |
getValue(AdjustableParameter adjparam,
RunTimeStep runtime)
Deprecated.
|
boolean |
initialize_old()
Deprecated.
|
boolean |
initialize()
Deprecated.
|
boolean |
readData(java.io.BufferedReader input)
Deprecated.
|
void |
removeAllRules()
Deprecated.
|
void |
removeRule(java.lang.String name)
Deprecated.
|
void |
setAdjParamData(java.lang.String elem,
java.lang.String func,
java.lang.String param)
Deprecated.
|
void |
setAdjustableDiversion(AdjustableDiversion func)
Deprecated.
|
void |
setDiversionFunction(AdjustableDiversion func)
Deprecated.
|
boolean |
setFieldObject(java.lang.reflect.Field fld,
java.lang.Object fobj)
Deprecated.
This allows access to fields withing the implementing object to set there data.
|
void |
setOperatations(Operations op,
int idx)
Deprecated.
|
void |
updateTSProxyList()
Deprecated.
Have top level controller update the TSRecordProxy set for itself and all
child controllers and rules
|
boolean |
writeData(java.io.BufferedWriter out)
Deprecated.
|
addModifiableListener, compareTo, getDescription, getDisplayName, getIgnoreModifiedEvents, getIndex, getName, isModified, isValid, removeModifiableListener, rename, set, setDescription, setIgnoreModifiedEvents, setIndex, setModified, setName, setValid, toString, update, useRecursiveModifiedTestpublic Controller()
public Controller(AdjustableDiversion func)
public Controller(Operations op, int idx)
public Controller(Operations op)
public java.util.List getRuleConnectivityRefs(boolean recurse)
recurse - true means to recurse through child OpControllerspublic RssSystem getSystem()
public void setOperatations(Operations op, int idx)
public void setAdjustableDiversion(AdjustableDiversion func)
public java.lang.Object clone()
NamedTypepublic int getUnitSystem()
public void setDiversionFunction(AdjustableDiversion func)
public AdjustableDiversion getDiversionFunction()
public Operations getOperations()
public java.lang.String getAdjParamElementName()
public void setAdjParamData(java.lang.String elem,
java.lang.String func,
java.lang.String param)
public Element findElement(java.lang.String name)
public java.util.Vector getRuleVector()
public void addRule(Rule rule)
public void removeAllRules()
public Rule findRule(java.lang.String name)
public void removeRule(java.lang.String name)
public boolean initialize()
public boolean initialize_old()
public double[] findTSArray(java.lang.String locType,
java.lang.String locName,
java.lang.String param)
public TSDataSet getTSDataSet(boolean isInput)
TSLocationgetTSDataSet in interface TSLocationpublic double getRuleValue(AdjustableParameter adjparam, RunTimeStep runtime)
public double getValue(AdjustableParameter adjparam, RunTimeStep runtime)
public boolean writeData(java.io.BufferedWriter out)
public boolean readData(java.io.BufferedReader input)
public void updateTSProxyList()
public java.util.Vector getActiveTSRecordProxies(java.util.Vector vec,
int iotype)
public java.util.Vector getTSRecordProxies(boolean isInput)
public java.lang.Object getFieldObject(java.lang.reflect.Field fld)
FieldAccessorgetFieldObject in interface FieldAccessorgetFieldObject in class NamedTypefld - The field to get.public boolean setFieldObject(java.lang.reflect.Field fld,
java.lang.Object fobj)
FieldAccessorsetFieldObject in interface FieldAccessorsetFieldObject in class NamedTypefld - The java field object representing the member field to be setfobj - The data to set in that field