fr.inria.oadymppac.parsing.gentra4cp
Class BasicVariableEvent

java.lang.Object
  extended byfr.inria.oadymppac.parsing.event.EventImpl
      extended byfr.inria.oadymppac.parsing.gentra4cp.BasicVariableEvent
All Implemented Interfaces:
java.lang.Cloneable, DTDVariableAttributes, DTDVariableElement, DTDVariableTypeAttribute, Event, VarAttributes, VariableAttributes, VariableEvent, VariableTypeAttribute
Direct Known Subclasses:
DefaultVariableEvent

public class BasicVariableEvent
extends EventImpl
implements VariableEvent

Author:
raf

Field Summary
 
Fields inherited from interface fr.inria.oadymppac.parsing.gentra4cp.event.VariableEvent
EVENT_TYPE
 
Fields inherited from interface fr.inria.oadymppac.parsing.gentra4cp.dtd.DTDVariableElement
VARIABLE
 
Fields inherited from interface fr.inria.oadymppac.parsing.gentra4cp.event.attributes.VarAttributes
EXTERNAL_NONE, IDENTIFIER_NONE, INTERNAL_NONE, NAME_NONE
 
Fields inherited from interface fr.inria.oadymppac.parsing.gentra4cp.dtd.DTDVariableAttributes
EXTERNAL, IDENTIFIER, INTERNAL, NAME
 
Fields inherited from interface fr.inria.oadymppac.parsing.gentra4cp.event.attributes.VariableTypeAttribute
TYPE_ENUM, TYPE_INT, TYPE_NONE, TYPE_RAT, TYPE_REAL, TYPE_STRING
 
Fields inherited from interface fr.inria.oadymppac.parsing.gentra4cp.dtd.DTDVariableTypeAttribute
ENUM, INT, RAT, REAL, STRING, TYPE
 
Fields inherited from interface fr.inria.oadymppac.parsing.event.Event
logger
 
Constructor Summary
BasicVariableEvent()
           
 
Method Summary
 int getEventType()
           
 java.lang.String getExternal()
           
 java.lang.String getIdentifier()
           
 Info getInfo()
           
 java.lang.String getInternal()
           
 java.lang.String getName()
           
 short getType()
           
 void init(ContentHandler handler, org.xml.sax.Attributes atts)
           
 void reset()
           
 void setExternal(java.lang.String external)
           
 void setIdentifier(java.lang.String ident)
           
 void setInternal(java.lang.String internal)
           
 void setName(java.lang.String name)
           
 void setType(short type)
           
 
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

BasicVariableEvent

public BasicVariableEvent()
Method Detail

getExternal

public java.lang.String getExternal()
Specified by:
getExternal in interface VarAttributes
Returns:

getIdentifier

public java.lang.String getIdentifier()
Specified by:
getIdentifier in interface VarAttributes
Returns:

getInfo

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

getInternal

public java.lang.String getInternal()
Specified by:
getInternal in interface VarAttributes
Returns:

getName

public java.lang.String getName()
Specified by:
getName in interface VarAttributes
Returns:

getType

public short getType()
Specified by:
getType in interface VariableTypeAttribute
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

setExternal

public void setExternal(java.lang.String external)
Specified by:
setExternal in interface VarAttributes
Parameters:
external -

setIdentifier

public void setIdentifier(java.lang.String ident)
Specified by:
setIdentifier in interface VarAttributes
Parameters:
ident -

setInternal

public void setInternal(java.lang.String internal)
Specified by:
setInternal in interface VarAttributes
Parameters:
internal -

setName

public void setName(java.lang.String name)
Specified by:
setName in interface VarAttributes
Parameters:
name -

setType

public void setType(short type)
Specified by:
setType in interface VariableTypeAttribute
Parameters:
type -

getEventType

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