|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IEventDefinition
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 |
fromXML(String xml)
Parse an XML string representing an event definition. |
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(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 |
---|
String getName()
void setName(String name)
IEvent createDefaultEvent() throws Exception
Exception
IEvent createDefaultEvent(DefaultDocumentOptions options) throws Exception
Exception
String getDescription()
void setDescription(String description)
String getPayloadSchemaName()
void setPayloadSchemaName(String schemaName)
String getPayloadRootElementName()
void setPayloadRootElementName(String rootElementName)
SOMSchema getPayloadSchema()
void setPayloadSchema(SOMSchema schema)
Map getPropertySet()
void setPropertySet(Map props)
String toXML() throws DocumentException
DocumentException
- if there is an error creating the XML.void fromXML(String xml) throws DocumentParseException, DocumentException
DocumentParseException
- if the xml cannot be parsed.
DocumentException
- if an error occurs while processing the xml.void setClientData(IClientData data)
IClientData getClientData()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |