Package jadex.bridge.service.types.cms
Class CMSStatusEvent
- java.lang.Object
-
- jadex.bridge.service.types.cms.CMSStatusEvent
-
- Direct Known Subclasses:
CMSStatusEvent.CMSCreatedEvent,CMSStatusEvent.CMSIntermediateResultEvent,CMSStatusEvent.CMSTerminatedEvent
public class CMSStatusEvent extends java.lang.ObjectBase change event. If used w/o subclass denotes change in description.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCMSStatusEvent.CMSCreatedEventStatus event for a newly created component.static classCMSStatusEvent.CMSIntermediateResultEventStatus event for an intermediate result of a component.static classCMSStatusEvent.CMSTerminatedEventFinal event of a finished component, including all results.
-
Field Summary
Fields Modifier and Type Field Description protected IComponentDescriptiondescThe component description.
-
Constructor Summary
Constructors Constructor Description CMSStatusEvent()Create a new CMSStatusEvent.CMSStatusEvent(IComponentDescription desc)Create a new CMSStatusEvent.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IComponentDescriptiongetComponentDescription()Get the component description.IComponentIdentifiergetComponentIdentifier()Get the componentIdentifier.java.lang.StringgetType()Get and set type are introduced to get the type explicitly (e.g.voidsetComponentDescription(IComponentDescription desc)Set the component description.voidsetType(java.lang.String type)java.lang.StringtoString()Get the string representation.
-
-
-
Field Detail
-
desc
protected IComponentDescription desc
The component description.
-
-
Constructor Detail
-
CMSStatusEvent
public CMSStatusEvent()
Create a new CMSStatusEvent.
-
CMSStatusEvent
public CMSStatusEvent(IComponentDescription desc)
Create a new CMSStatusEvent.
-
-
Method Detail
-
getComponentIdentifier
public IComponentIdentifier getComponentIdentifier()
Get the componentIdentifier.- Returns:
- The componentIdentifier.
-
getComponentDescription
public IComponentDescription getComponentDescription()
Get the component description.- Returns:
- The description.
-
setComponentDescription
public void setComponentDescription(IComponentDescription desc)
Set the component description.- Parameters:
desc- The component description to set.
-
getType
public java.lang.String getType()
Get and set type are introduced to get the type explicitly (e.g. in json classname vanishes). Get the event type- Returns:
- The event type.
-
setType
public void setType(java.lang.String type)
- Parameters:
type- the type to set
-
toString
public java.lang.String toString()
Get the string representation.- Overrides:
toStringin classjava.lang.Object
-
-