fr.inria.oadymppac.parsing.info
Class AnnotationInfo

java.lang.Object
  extended byfr.inria.oadymppac.parsing.info.BasicInfo
      extended byfr.inria.oadymppac.parsing.info.EventInfo
          extended byfr.inria.oadymppac.parsing.info.AnnotationInfo
All Implemented Interfaces:
AnnotationAttributes, AnnotationCommandProvider, java.lang.Cloneable, DTDAnnotationElement, DTDEventAttributes, EventAttributes, Info, StateProvider

public class AnnotationInfo
extends EventInfo
implements AnnotationAttributes, AnnotationCommandProvider, StateProvider, java.lang.Cloneable

Author:
raf

Field Summary
static int INFO_TYPE
           
 
Fields inherited from class fr.inria.oadymppac.parsing.info.BasicInfo
cloned, created
 
Fields inherited from interface fr.inria.oadymppac.parsing.gentra4cp.event.attributes.AnnotationAttributes
IDENTIFIER_NONE, NAME_NONE, REFERENCES_NONE, REFERENCES_SEPARATOR
 
Fields inherited from interface fr.inria.oadymppac.parsing.gentra4cp.dtd.DTDAnnotationElement
ANNOTATION, IDENTIFIER, NAME, REFERENCES
 
Fields inherited from interface fr.inria.oadymppac.parsing.gentra4cp.event.attributes.EventAttributes
CHRONO_NONE, CONTEXT_NONE, DEPTH_NONE, FILE_NONE, LINE_NONE, TIME_NONE
 
Fields inherited from interface fr.inria.oadymppac.parsing.gentra4cp.dtd.DTDEventAttributes
CHRONO, CONTEXT, DEPTH, FILE, LINE, TIME
 
Fields inherited from interface fr.inria.oadymppac.parsing.event.Info
logger
 
Constructor Summary
AnnotationInfo()
           
 
Method Summary
 java.lang.Object clone()
           
 AnnotationCommandInfo getCommand()
           
 java.lang.String getIdentifier()
           
 int getInfoType()
           
 java.lang.String getName()
           
 java.lang.String[] getReferences()
           
 StateInfo getState()
           
 short getType()
           
 void setCommand(AnnotationCommandInfo command)
           
 void setIdentifier(java.lang.String ident)
           
 void setName(java.lang.String name)
           
 void setReferences(java.lang.String[] references)
           
 void setState(StateInfo state)
           
 void setType(short type)
           
 
Methods inherited from class fr.inria.oadymppac.parsing.info.EventInfo
getChrono, getContext, getDepth, getFile, getLine, getTime, setChrono, setContext, setDepth, setFile, setLine, setTime
 
Methods inherited from class fr.inria.oadymppac.parsing.info.BasicInfo
clone, clone, clone
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INFO_TYPE

public static final int INFO_TYPE
See Also:
Constant Field Values
Constructor Detail

AnnotationInfo

public AnnotationInfo()
Method Detail

getInfoType

public int getInfoType()
Specified by:
getInfoType in interface Info

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Overrides:
clone in class BasicInfo
Throws:
java.lang.CloneNotSupportedException

getIdentifier

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

getName

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

setIdentifier

public void setIdentifier(java.lang.String ident)
Specified by:
setIdentifier in interface AnnotationAttributes

setName

public void setName(java.lang.String name)
Specified by:
setName in interface AnnotationAttributes

getType

public short getType()

setType

public void setType(short type)

getReferences

public java.lang.String[] getReferences()
Specified by:
getReferences in interface AnnotationAttributes

setReferences

public void setReferences(java.lang.String[] references)
Specified by:
setReferences in interface AnnotationAttributes

getCommand

public AnnotationCommandInfo getCommand()
Specified by:
getCommand in interface AnnotationCommandProvider
Returns:
Returns the command.

setCommand

public void setCommand(AnnotationCommandInfo command)
Specified by:
setCommand in interface AnnotationCommandProvider
Parameters:
command - The command to set.

getState

public StateInfo getState()
Specified by:
getState in interface StateProvider
Returns:
Returns the state.

setState

public void setState(StateInfo state)
Specified by:
setState in interface StateProvider
Parameters:
state - The state to set.