fr.inria.oadymppac.parsing.gentra4cp
Class BasicUpdateEvent

java.lang.Object
  extended byfr.inria.oadymppac.parsing.event.EventImpl
      extended byfr.inria.oadymppac.parsing.gentra4cp.BasicUpdateEvent
All Implemented Interfaces:
java.lang.Cloneable, DTDUpdateElement, DTDUpdateTypeAttribute, Event, UpdateAttributes, UpdateEvent, UpdateTypeAttribute
Direct Known Subclasses:
DefaultUpdateEvent, NewConstraintUpdateEvent

public class BasicUpdateEvent
extends EventImpl
implements UpdateEvent

Author:
raf

Field Summary
 
Fields inherited from interface fr.inria.oadymppac.parsing.gentra4cp.event.UpdateEvent
EVENT_TYPE
 
Fields inherited from interface fr.inria.oadymppac.parsing.gentra4cp.event.attributes.UpdateAttributes
STATUS_NONE, VARIABLE_NONE
 
Fields inherited from interface fr.inria.oadymppac.parsing.gentra4cp.dtd.DTDUpdateElement
STATUS, TYPES, UPDATE, VARIABLE
 
Fields inherited from interface fr.inria.oadymppac.parsing.gentra4cp.event.attributes.UpdateTypeAttribute
TYPE_ANY, TYPE_EMPTY, TYPE_GROUND, TYPE_MAX, TYPE_MIN, TYPE_MINMAX, TYPE_NONE, TYPE_NOTHING, TYPE_VALUE
 
Fields inherited from interface fr.inria.oadymppac.parsing.gentra4cp.dtd.DTDUpdateTypeAttribute
ANY, EMPTY, GROUND, MAX, MIN, MINMAX, NOTHING, TYPE, VALUE
 
Fields inherited from interface fr.inria.oadymppac.parsing.event.Event
logger
 
Constructor Summary
BasicUpdateEvent()
           
 
Method Summary
 java.lang.Object clone()
           
 int getEventType()
           
 Info getInfo()
           
 java.lang.String getStatus()
           
 short[] getType()
           
 java.lang.String getVariable()
           
 void init(ContentHandler handler, org.xml.sax.Attributes atts)
           
 void reset()
           
 void setStatus(java.lang.String status)
           
 void setType(short[] type)
           
 void setVariable(java.lang.String var)
           
 
Methods inherited from class fr.inria.oadymppac.parsing.event.EventImpl
getAllAttributes, getAnyValue, getSource, init, setAllAttributes, setSource, terminate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface fr.inria.oadymppac.parsing.event.Event
getAnyValue, getSource, init, setSource, terminate
 

Constructor Detail

BasicUpdateEvent

public BasicUpdateEvent()
Method Detail

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Throws:
java.lang.CloneNotSupportedException

getInfo

public Info getInfo()
Specified by:
getInfo in interface Event
Returns:
Returns the info.

getType

public short[] getType()
Specified by:
getType in interface UpdateTypeAttribute
Returns:

getVariable

public java.lang.String getVariable()
Specified by:
getVariable in interface UpdateAttributes
Returns:

init

public void init(ContentHandler handler,
                 org.xml.sax.Attributes atts)
Specified by:
init in interface Event
Overrides:
init in class EventImpl

reset

public void reset()
Specified by:
reset in interface Event
Overrides:
reset in class EventImpl

setType

public void setType(short[] type)
Specified by:
setType in interface UpdateTypeAttribute
Parameters:
type -

setVariable

public void setVariable(java.lang.String var)
Specified by:
setVariable in interface UpdateAttributes
Parameters:
var -

getEventType

public int getEventType()
Specified by:
getEventType in interface Event

getStatus

public java.lang.String getStatus()
Specified by:
getStatus in interface UpdateAttributes

setStatus

public void setStatus(java.lang.String status)
Specified by:
setStatus in interface UpdateAttributes