public class RuleConnectivityRef
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
ANY_NODE
Acceptable references include any node in the network
|
static int |
DOWNSTREAM_NODE
Acceptable references include all nodes downstream of element being copied
|
static int |
JUNCTION_NODE
Acceptable references include downstream nodes of any junction in the network
|
static int |
MODEL_VARIABLE
Acceptable references include simialar model variables
|
static int |
RESERVOIR_ELEMENT
Acceptable references include any reservoir element
|
static int |
STATE_VARIABLE |
| Constructor and Description |
|---|
RuleConnectivityRef()
default constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getLocation()
get the Location Object
|
int |
getLocationType()
get the Location Type Id
|
java.lang.Object |
getRule()
get the Rule Object
|
void |
setLocation(java.lang.Object l)
Set the Location Object
|
void |
setLocationType(int i)
set the Location Type Id
|
void |
setRule(java.lang.Object r)
Set the Rule
|
public static final int DOWNSTREAM_NODE
public static final int ANY_NODE
public static final int MODEL_VARIABLE
public static final int JUNCTION_NODE
public static final int RESERVOIR_ELEMENT
public static final int STATE_VARIABLE
public void setRule(java.lang.Object r)
r - should be either a Rule or OpRule objectpublic java.lang.Object getRule()
public void setLocation(java.lang.Object l)
l - may be an RssNode, Independent Variable, or Reservoir Elementpublic java.lang.Object getLocation()
public void setLocationType(int i)
i - the idpublic int getLocationType()