Class EnvironmentEvent
- java.lang.Object
- 
- jadex.extension.envsupport.environment.EnvironmentEvent
 
- 
 public class EnvironmentEvent extends java.lang.ObjectAn event in the environment (related to some space object).
- 
- 
Field SummaryFields Modifier and Type Field Description static java.lang.StringOBJECT_CREATEDEvent type when an object has been created.static java.lang.StringOBJECT_DESTROYEDEvent type when an object has been destroyed.static java.lang.StringOBJECT_PROPERTY_CHANGEDEvent type when an object has been changed.protected java.lang.ObjectoldvalueThe previous property value (if any).protected java.lang.StringpropertyThe property (if any).protected IEnvironmentSpacespaceThe source space.protected ISpaceObjectspaceobjectThe space object.protected java.lang.StringtypeThe event type.
 - 
Constructor SummaryConstructors Constructor Description EnvironmentEvent(java.lang.String type, IEnvironmentSpace space, ISpaceObject object, java.lang.String property, java.lang.Object oldvalue)Create a new environment event.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetOldValue()Get the previous property value.java.lang.StringgetProperty()Get the property.IEnvironmentSpacegetSpace()Get the source space.ISpaceObjectgetSpaceObject()Get the space object.java.lang.StringgetType()Get the event type.
 
- 
- 
- 
Field Detail- 
OBJECT_CREATEDpublic static final java.lang.String OBJECT_CREATED Event type when an object has been created.- See Also:
- Constant Field Values
 
 - 
OBJECT_DESTROYEDpublic static final java.lang.String OBJECT_DESTROYED Event type when an object has been destroyed.- See Also:
- Constant Field Values
 
 - 
OBJECT_PROPERTY_CHANGEDpublic static final java.lang.String OBJECT_PROPERTY_CHANGED Event type when an object has been changed.- See Also:
- Constant Field Values
 
 - 
typeprotected java.lang.String type The event type.
 - 
spaceprotected IEnvironmentSpace space The source space.
 - 
spaceobjectprotected ISpaceObject spaceobject The space object.
 - 
propertyprotected java.lang.String property The property (if any).
 - 
oldvalueprotected java.lang.Object oldvalue The previous property value (if any).
 
- 
 - 
Constructor Detail- 
EnvironmentEventpublic EnvironmentEvent(java.lang.String type, IEnvironmentSpace space, ISpaceObject object, java.lang.String property, java.lang.Object oldvalue)Create a new environment event.
 
- 
 - 
Method Detail- 
getTypepublic java.lang.String getType() Get the event type.- Returns:
- The event type.
 
 - 
getSpacepublic IEnvironmentSpace getSpace() Get the source space.- Returns:
- The source.
 
 - 
getSpaceObjectpublic ISpaceObject getSpaceObject() Get the space object.- Returns:
- The space object.
 
 - 
getPropertypublic java.lang.String getProperty() Get the property.- Returns:
- The property.
 
 - 
getOldValuepublic java.lang.Object getOldValue() Get the previous property value.- Returns:
- The old value.
 
 
- 
 
-