org.eclipse.ocl.examples.debug.vm.core
Class VMVariable

java.lang.Object
  extended by org.eclipse.core.runtime.PlatformObject
      extended by org.eclipse.debug.core.model.DebugElement
          extended by org.eclipse.ocl.examples.debug.vm.core.VMDebugElement
              extended by org.eclipse.ocl.examples.debug.vm.core.VMVariable
All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable, org.eclipse.debug.core.model.IDebugElement, org.eclipse.debug.core.model.IValueModification, org.eclipse.debug.core.model.IVariable
Direct Known Subclasses:
VMLocalVariable

public class VMVariable
extends VMDebugElement
implements org.eclipse.debug.core.model.IVariable


Field Summary
protected  org.eclipse.debug.core.model.IValue fValue
           
 
Method Summary
 java.lang.String getName()
           
 java.lang.String getReferenceTypeName()
           
 org.eclipse.debug.core.model.IValue getValue()
           
 VMVariableData getVmVar()
           
 boolean hasValueChanged()
           
 boolean isAttribute()
           
 boolean isCollectionElement()
           
 boolean isIntermProperty()
           
 boolean isLocalVariable()
           
 boolean isModelParameter()
           
 boolean isPredefinedVariable()
           
 boolean isReference()
           
 void setValue(org.eclipse.debug.core.model.IValue value)
           
 void setValue(java.lang.String expression)
           
 boolean supportsValueModification()
           
 boolean verifyValue(org.eclipse.debug.core.model.IValue value)
           
 boolean verifyValue(java.lang.String expression)
           
 
Methods inherited from class org.eclipse.ocl.examples.debug.vm.core.VMDebugElement
getDebugCore, getModelIdentifier, getOCLDebugTarget
 
Methods inherited from class org.eclipse.debug.core.model.DebugElement
fireChangeEvent, fireCreationEvent, fireEvent, fireResumeEvent, fireSuspendEvent, fireTerminateEvent, getAdapter, getDebugTarget, getLaunch, notSupported, requestFailed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.debug.core.model.IDebugElement
getDebugTarget, getLaunch, getModelIdentifier
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Field Detail

fValue

protected org.eclipse.debug.core.model.IValue fValue
Method Detail

isModelParameter

public boolean isModelParameter()

isLocalVariable

public boolean isLocalVariable()

isCollectionElement

public boolean isCollectionElement()

isPredefinedVariable

public boolean isPredefinedVariable()

isIntermProperty

public boolean isIntermProperty()

isAttribute

public boolean isAttribute()

isReference

public boolean isReference()

getValue

public org.eclipse.debug.core.model.IValue getValue()
                                             throws org.eclipse.debug.core.DebugException
Specified by:
getValue in interface org.eclipse.debug.core.model.IVariable
Throws:
org.eclipse.debug.core.DebugException

getName

public java.lang.String getName()
                         throws org.eclipse.debug.core.DebugException
Specified by:
getName in interface org.eclipse.debug.core.model.IVariable
Throws:
org.eclipse.debug.core.DebugException

getReferenceTypeName

public java.lang.String getReferenceTypeName()
                                      throws org.eclipse.debug.core.DebugException
Specified by:
getReferenceTypeName in interface org.eclipse.debug.core.model.IVariable
Throws:
org.eclipse.debug.core.DebugException

getVmVar

public VMVariableData getVmVar()

hasValueChanged

public boolean hasValueChanged()
                        throws org.eclipse.debug.core.DebugException
Specified by:
hasValueChanged in interface org.eclipse.debug.core.model.IVariable
Throws:
org.eclipse.debug.core.DebugException

supportsValueModification

public boolean supportsValueModification()
Specified by:
supportsValueModification in interface org.eclipse.debug.core.model.IValueModification

setValue

public void setValue(java.lang.String expression)
              throws org.eclipse.debug.core.DebugException
Specified by:
setValue in interface org.eclipse.debug.core.model.IValueModification
Throws:
org.eclipse.debug.core.DebugException

setValue

public void setValue(org.eclipse.debug.core.model.IValue value)
              throws org.eclipse.debug.core.DebugException
Specified by:
setValue in interface org.eclipse.debug.core.model.IValueModification
Throws:
org.eclipse.debug.core.DebugException

verifyValue

public boolean verifyValue(java.lang.String expression)
                    throws org.eclipse.debug.core.DebugException
Specified by:
verifyValue in interface org.eclipse.debug.core.model.IValueModification
Throws:
org.eclipse.debug.core.DebugException

verifyValue

public boolean verifyValue(org.eclipse.debug.core.model.IValue value)
                    throws org.eclipse.debug.core.DebugException
Specified by:
verifyValue in interface org.eclipse.debug.core.model.IValueModification
Throws:
org.eclipse.debug.core.DebugException