|
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.SimpleOneWayPortType
public class SimpleOneWayPortType
Represents a port type that sends or receives one-way scalar type messages. This port type will not accept java.util.List or any other Collection type.
For convenience, commonly used simple port types are defined as constants in this class. Using these constants will also ensure that the same display names are used for the same types.
| Field Summary | |
|---|---|
static SimpleOneWayPortType |
ANY_OBJECT
Type that sends/receives objects of type Object. |
static SimpleOneWayPortType |
BOOLEAN
Type that sends/receives objects of type Boolean. |
static SimpleOneWayPortType |
ECREPORTS
Type that sends/receives objects of type com.connecterra.alepc.api.ECReports. |
static SimpleOneWayPortType |
EPC_CACHE_REPORT
Type that sends/receives objects of type com.connecterra.alepc.api.EPCCacheReport. |
static SimpleOneWayPortType |
EPCIS_DOC
Type that sends/receives objects of type com.connecterra.epcis.api.EPCISDocument. |
static SimpleOneWayPortType |
ERROR
Type that sends/receives objects of type ErrorOutput. |
static SimpleOneWayPortType |
INTEGER
Type that sends/receives objects of type Integer. |
static SimpleOneWayPortType |
MANIFEST
Type that sends/receives objects of type Manifest. |
static SimpleOneWayPortType |
MODULE_STATE
Type that sends/receives objects of type WorkflowModuleState. |
static SimpleOneWayPortType |
PCSPEC
Type that sends/receives objects of type com.connecterra.alepc.api.PCSpec. |
static SimpleOneWayPortType |
PCWRITE_REPORT
Type that sends/receives objects of type com.connecterra.alepc.api.PCWriteReport. |
static SimpleOneWayPortType |
STRING
Type that sends/receives objects of type String. |
static SimpleOneWayPortType |
TRIGGER
Type that sends/receives objects of type TriggerOutput. |
static SimpleOneWayPortType |
URI_STRING
Type that sends/receives objects of type String. |
static SimpleOneWayPortType |
XML_DOCUMENT
Type that sends/receives objects of type org.w3c.dom.Document. |
| Constructor Summary | |
|---|---|
SimpleOneWayPortType(Class clazz,
String displayName)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
canAcceptMessage(Object msg)
Interface method implementation. |
String |
getDisplayName()
Returns the display name for this port type. |
Class |
getPortClass()
Returns the Class of the message objects that this port sends or receives. |
String |
getStringRepresentation()
Returns a string representation that uniquely identifies equivalent port types. |
boolean |
isWirableFrom(PortType fromType)
Interface method implementation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static SimpleOneWayPortType XML_DOCUMENT
org.w3c.dom.Document.
public static SimpleOneWayPortType ANY_OBJECT
Object.
public static SimpleOneWayPortType INTEGER
Integer.
public static SimpleOneWayPortType BOOLEAN
Boolean.
public static SimpleOneWayPortType URI_STRING
String. The string must be
the string representation of a URI. This port type currently does not enforce that
it is a valid URI string, but, is just defined as a convenience to use a display
name that says it is a URI string.
public static SimpleOneWayPortType STRING
String.
public static SimpleOneWayPortType TRIGGER
TriggerOutput.
public static SimpleOneWayPortType ERROR
ErrorOutput.
public static SimpleOneWayPortType MODULE_STATE
WorkflowModuleState.
public static SimpleOneWayPortType MANIFEST
Manifest.
public static SimpleOneWayPortType EPCIS_DOC
com.connecterra.epcis.api.EPCISDocument.
public static SimpleOneWayPortType PCWRITE_REPORT
com.connecterra.alepc.api.PCWriteReport.
public static SimpleOneWayPortType PCSPEC
com.connecterra.alepc.api.PCSpec.
public static SimpleOneWayPortType ECREPORTS
com.connecterra.alepc.api.ECReports.
public static SimpleOneWayPortType EPC_CACHE_REPORT
com.connecterra.alepc.api.EPCCacheReport.
| Constructor Detail |
|---|
public SimpleOneWayPortType(Class clazz,
String displayName)
clazz - The Class of the message objects that this port sends/receives.displayName - The user facing name for this port type.| Method Detail |
|---|
public Class getPortClass()
public boolean isWirableFrom(PortType fromType)
AnyPortType
and MultiTypeOneWayPortType that supports this port class.
isWirableFrom in interface PortTypefromType - The PortType from which this is to be connected.
PortType to this;
False otherwise.public String getDisplayName()
PortType
getDisplayName in interface PortTypepublic String getStringRepresentation()
PortTypedynamic set
parameters in dynamic configuration.
getStringRepresentation in interface PortTypepublic boolean canAcceptMessage(Object msg)
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 | |||||||||