|
BEA Systems, Inc. | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.bea.rfid.edge.toolkit.workflow.MultiTypeOneWayPortType
public class MultiTypeOneWayPortType
Represents the type of a one-way Port that
accepts/sends multiple types of input.
| Constructor Summary | |
|---|---|
MultiTypeOneWayPortType(PortType[] portTypes,
String displayName)
Constructor. |
|
MultiTypeOneWayPortType(Set portTypes,
String displayName)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
canAcceptMessage(Object msg)
Determines if the port type will accept the given message. |
String |
getDisplayName()
Returns the display name for this port type. |
String |
getStringRepresentation()
Returns a string representation that uniquely identifies equivalent port types. |
Set |
getSupportedPortTypes()
Returns the PortTypes supported by this port. |
boolean |
isWirableFrom(PortType fromType)
Determines whether it is valid to connect the given PortType to this. |
void |
setDisplayName(String displayName)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MultiTypeOneWayPortType(PortType[] portTypes,
String displayName)
portTypes - All the PortTypes that are supported by this.displayName - The display name for the port type.
IllegalArgumentException - If null or empty set of port types is passed in.
public MultiTypeOneWayPortType(Set portTypes,
String displayName)
portTypes - All the PortTypes that are supported by this.displayName - The display name for the port type.
IllegalArgumentException - If null or empty set of port types is passed in.| Method Detail |
|---|
public Set getSupportedPortTypes()
PortTypes supported by this.public boolean isWirableFrom(PortType fromType)
PortTypePortType to this.
Returns true if it is a valid connection; False otherwise.
isWirableFrom in interface PortTypefromType - The PortType from which this is to be connected.
PortType to this;
False otherwise.public void setDisplayName(String displayName)
public String getDisplayName()
PortType
getDisplayName in interface PortTypepublic String getStringRepresentation()
PortTypedynamic set
parameters in dynamic configuration.
getStringRepresentation in interface PortTypepublic boolean canAcceptMessage(Object msg)
PortType
canAcceptMessage in interface PortTypemsg - The message that is to be sent.
|
Documentation is available at ${DOCSWEBROOT} Copyright 2007 BEA Systems Inc. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||