|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.simnet.coupling.InteractionMode
public final class InteractionMode
Typesafe enumeration of interaction modes.
| Field Summary | |
|---|---|
static InteractionMode |
BOTH_WAYS
Both ways interaction mode. |
static Collection |
C_VALUES
Collection of interaction mode values. |
static InteractionMode |
NEITHER_WAY
Neither way interaction mode. |
static InteractionMode |
NETWORK_TO_WORLD
Network to world interaction mode. |
static InteractionMode |
WORLD_TO_NETWORK
World to network interaction mode. |
| Method Summary | |
|---|---|
boolean |
isBothWays()
Return true if this interaction mode is BOTH_WAYS. |
boolean |
isNeitherWay()
Return true if this interaction mode is NEITHER_WAY. |
boolean |
isNetworkToWorld()
Return true if this interaction mode is NETWORK_TO_WORLD. |
boolean |
isWorldToNetwork()
Return true if this interaction mode is WORLD_TO_NETWORK. |
String |
toString()
Returns String representation of interaction mode. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final InteractionMode WORLD_TO_NETWORK
public static final InteractionMode NETWORK_TO_WORLD
public static final InteractionMode BOTH_WAYS
public static final InteractionMode NEITHER_WAY
public static final Collection C_VALUES
| Method Detail |
|---|
public boolean isWorldToNetwork()
WORLD_TO_NETWORK.
WORLD_TO_NETWORKpublic boolean isNetworkToWorld()
NETWORK_TO_WORLD.
NETWORK_TO_WORLDpublic boolean isBothWays()
BOTH_WAYS.
BOTH_WAYSpublic boolean isNeitherWay()
NEITHER_WAY.
NEITHER_WAYpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||