|
|||||||||
| Home >> All >> recoin >> [ group overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
recoin.group
Class InOutSupport

java.lang.Objectrecoin.group.InOutSupport
- All Implemented Interfaces:
- java.io.Serializable
- public class InOutSupport
- extends java.lang.Object
- implements java.io.Serializable
- extends java.lang.Object
The class InOutSupport describes the behavior of a Component in terms of what
ComponentSupport objects it can process and what the resulting outcome is.
This class is used, for example, in the
hasSupportFor 55
method to determine the Component's capabilities.
- Version:
- 0.2.9
| Field Summary | |
private int |
componentID
The ID of the Component. |
private int |
id
The ID of this InOutSupport. |
ComponentSupport |
inSupport
The ComponentSupport that is accepted as input. |
ComponentSupport |
outSupport
The ComponentSupport that is produced as output. |
| Constructor Summary | |
InOutSupport(int id,
int componentID,
ComponentSupport inSupport)
Creates a new InOutSupport with the specified parameters that accepts the specified inSupport and has no outSupport. |
|
InOutSupport(int id,
int componentID,
ComponentSupport inSupport,
ComponentSupport outSupport)
Creates a new InOutSupport with the specified parameters that accepts the specified inSupport and produces the specified outSupport. |
|
| Method Summary | |
boolean |
equals(java.lang.Object o)
Compares this InOutSupport to the specified object. |
int |
getComponentID()
Returns the ID of the Component to which this InOutSupport belongs. |
int |
getID()
Returns the ID of this InOutSupport. |
ComponentSupport |
getInSupport()
Returns the inSupport of this InOutSupport. |
ComponentSupport |
getOutSupport()
Returns the outSupport of this InOutSupport. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
id
private int id
- The ID of this InOutSupport.
inSupport
public ComponentSupport inSupport
- The ComponentSupport that is accepted as input.
outSupport
public ComponentSupport outSupport
- The ComponentSupport that is produced as output.
componentID
private int componentID
- The ID of the Component.
| Constructor Detail |
InOutSupport
public InOutSupport(int id,
int componentID,
ComponentSupport inSupport)
- Creates a new InOutSupport with the specified parameters that accepts the
specified inSupport and has no outSupport.
InOutSupport
public InOutSupport(int id,
int componentID,
ComponentSupport inSupport,
ComponentSupport outSupport)
- Creates a new InOutSupport with the specified parameters that accepts the
specified inSupport and produces the specified outSupport.
| Method Detail |
getComponentID
public int getComponentID()
- Returns the ID of the Component to which this InOutSupport belongs.
getInSupport
public ComponentSupport getInSupport()
- Returns the
inSupportof this InOutSupport.
getOutSupport
public ComponentSupport getOutSupport()
- Returns the
outSupportof this InOutSupport.
getID
public int getID()
- Returns the ID of this InOutSupport.
equals
public boolean equals(java.lang.Object o)
- Compares this InOutSupport to the specified object. If the specified object is an
instance of InOutSupport and shares the same values, the method returns true.
|
|||||||||
| Home >> All >> recoin >> [ group overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
recoin.group.InOutSupport