|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines an event type (a business occurrence) in terms of a document type, and a set of implementation specific properties.
Method Summary | |
IEvent |
createDefaultEvent()
Create an event object containing default structure and values. |
IEvent |
createDefaultEvent(DefaultDocumentOptions options)
Create an event object containing default structure and values, and using the specified options. |
void |
createDefaultEvent(IEvent event)
Create an event object within the given event object, that contains default structure and values. |
void |
fromXML(String xml)
Parse an XML string representing an event definition. |
com.bea.connector.IClientData |
getClientData()
Get the client data to be used by the adapter during its event generation processing, or null if none was specified. |
String |
getDescription()
Get the description for this event definition. |
String |
getName()
Get the type name. |
String |
getPayloadRootElementName()
Get the root element name for payload for this event definition. |
SOMSchema |
getPayloadSchema()
Get the schema for the payload document. |
String |
getPayloadSchemaName()
Get the name of the document schema for payload for this event definition. |
Map |
getPropertySet()
Get the properties (name/value pairs) for this service. |
void |
setClientData(com.bea.connector.IClientData data)
Store the client data to be used by the adapter during its event generation processing. |
void |
setDescription(String description)
Set the description for this event definition; |
void |
setName(String name)
Set the type name. |
void |
setPayloadRootElementName(String rootElementName)
Set the root element name for the payload for this event definition. |
void |
setPayloadSchema(SOMSchema schema)
Set the schema for the payload document. |
void |
setPayloadSchemaName(String schemaName)
Set the name of the document schema for payload for this event definition. |
void |
setPropertySet(Map props)
Set the properties (name/value pairs) for this event. |
String |
toXML()
Get an XML string representing this event definition. |
Method Detail |
public String getName()
public void setName(String name)
public IEvent createDefaultEvent() throws Exception
Exception
public IEvent createDefaultEvent(DefaultDocumentOptions options) throws Exception
Exception
public void createDefaultEvent(IEvent event) throws Exception
Exception
public String getDescription()
public void setDescription(String description)
public String getPayloadSchemaName()
public void setPayloadSchemaName(String schemaName)
public String getPayloadRootElementName()
public void setPayloadRootElementName(String rootElementName)
public SOMSchema getPayloadSchema()
public void setPayloadSchema(SOMSchema schema)
public Map getPropertySet()
public void setPropertySet(Map props)
public String toXML() throws DocumentException
DocumentException
- if there is an error creating the XML.public void fromXML(String xml) throws DocumentParseException, DocumentException
DocumentParseException
- if the xml cannot be parsed.
DocumentException
- if an error occurs while processing the xml.public void setClientData(com.bea.connector.IClientData data)
public com.bea.connector.IClientData getClientData()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |