Class AtlValue
- java.lang.Object
-
- org.eclipse.core.runtime.PlatformObject
-
- org.eclipse.m2m.atl.debug.core.AtlDebugElement
-
- org.eclipse.m2m.atl.debug.core.adwp.AtlValue
-
- All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable,org.eclipse.debug.core.model.IDebugElement,org.eclipse.debug.core.model.IValue
public class AtlValue extends AtlDebugElement implements org.eclipse.debug.core.model.IValue
ATL Value (for debug).
-
-
Field Summary
-
Fields inherited from class org.eclipse.m2m.atl.debug.core.AtlDebugElement
fTarget
-
-
Constructor Summary
Constructors Constructor Description AtlValue(Value value, ObjectReference asType, AtlDebugTarget atlDT)Constructor.AtlValue(Value value, AtlDebugTarget atlDT)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.debug.core.model.IDebugTargetgetDebugTarget()org.eclipse.debug.core.ILaunchgetLaunch()java.lang.StringgetReferenceTypeName()ValuegetValue()Returns the ATL value.java.lang.StringgetValueString()org.eclipse.debug.core.model.IVariable[]getVariables()booleanhasVariables()booleanisAllocated()booleanisContainer()Returnstrueif the value has variables orfalseelsewhere.-
Methods inherited from class org.eclipse.m2m.atl.debug.core.AtlDebugElement
abort, getAdapter, getModelIdentifier
-
-
-
-
Constructor Detail
-
AtlValue
public AtlValue(Value value, ObjectReference asType, AtlDebugTarget atlDT)
Constructor.- Parameters:
value- the valueatlDT- the debug targetasType- the reference
-
AtlValue
public AtlValue(Value value, AtlDebugTarget atlDT)
Constructor.- Parameters:
value- the valueatlDT- the debug target
-
-
Method Detail
-
getReferenceTypeName
public java.lang.String getReferenceTypeName() throws org.eclipse.debug.core.DebugException- Specified by:
getReferenceTypeNamein interfaceorg.eclipse.debug.core.model.IValue- Throws:
org.eclipse.debug.core.DebugException- See Also:
IValue.getReferenceTypeName()
-
getValueString
public java.lang.String getValueString() throws org.eclipse.debug.core.DebugException- Specified by:
getValueStringin interfaceorg.eclipse.debug.core.model.IValue- Throws:
org.eclipse.debug.core.DebugException- See Also:
IValue.getValueString()
-
isAllocated
public boolean isAllocated() throws org.eclipse.debug.core.DebugException- Specified by:
isAllocatedin interfaceorg.eclipse.debug.core.model.IValue- Throws:
org.eclipse.debug.core.DebugException- See Also:
IValue.isAllocated()
-
getVariables
public org.eclipse.debug.core.model.IVariable[] getVariables() throws org.eclipse.debug.core.DebugException- Specified by:
getVariablesin interfaceorg.eclipse.debug.core.model.IValue- Throws:
org.eclipse.debug.core.DebugException- See Also:
IValue.getVariables()
-
hasVariables
public boolean hasVariables() throws org.eclipse.debug.core.DebugException- Specified by:
hasVariablesin interfaceorg.eclipse.debug.core.model.IValue- Throws:
org.eclipse.debug.core.DebugException- See Also:
IValue.hasVariables()
-
getDebugTarget
public org.eclipse.debug.core.model.IDebugTarget getDebugTarget()
- Specified by:
getDebugTargetin interfaceorg.eclipse.debug.core.model.IDebugElement- Overrides:
getDebugTargetin classAtlDebugElement- See Also:
AtlDebugElement.getDebugTarget()
-
getLaunch
public org.eclipse.debug.core.ILaunch getLaunch()
- Specified by:
getLaunchin interfaceorg.eclipse.debug.core.model.IDebugElement- Overrides:
getLaunchin classAtlDebugElement- See Also:
AtlDebugElement.getLaunch()
-
getValue
public Value getValue()
Returns the ATL value.- Returns:
- the ATL value
-
isContainer
public boolean isContainer()
Returnstrueif the value has variables orfalseelsewhere.- Returns:
trueif the value has variables orfalseelsewhere
-
-