Class AtlMapValue
- java.lang.Object
-
- org.eclipse.m2m.atl.debug.core.adwp.AtlMapValue
-
- All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable,org.eclipse.debug.core.model.IDebugElement,org.eclipse.debug.core.model.IValue
public class AtlMapValue extends java.lang.Object implements org.eclipse.debug.core.model.IValueMap elements are special case of AtlValue There is a key and a value. AtlMapValue represents this special value
-
-
Constructor Summary
Constructors Constructor Description AtlMapValue(Value key, Value value, AtlDebugTarget atlDT)This AtlMapValue is built with two value (key, value) and a debug target.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> TgetAdapter(java.lang.Class<T> adapter)org.eclipse.debug.core.model.IDebugTargetgetDebugTarget()org.eclipse.debug.core.ILaunchgetLaunch()java.lang.StringgetModelIdentifier()java.lang.StringgetReferenceTypeName()java.lang.StringgetValueString()org.eclipse.debug.core.model.IVariable[]getVariables()This returns the two variables composing a AtlMapValue.booleanhasVariables()booleanisAllocated()
-
-
-
Constructor Detail
-
AtlMapValue
public AtlMapValue(Value key, Value value, AtlDebugTarget atlDT)
This AtlMapValue is built with two value (key, value) and a debug target.- Parameters:
key- the keyvalue- the valueatlDT- the debug target
-
-
Method Detail
-
getVariables
public org.eclipse.debug.core.model.IVariable[] getVariables() throws org.eclipse.debug.core.DebugExceptionThis returns the two variables composing a AtlMapValue.- Specified by:
getVariablesin interfaceorg.eclipse.debug.core.model.IValue- Throws:
org.eclipse.debug.core.DebugException- See Also:
IValue.getVariables()
-
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()
-
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()
-
getModelIdentifier
public java.lang.String getModelIdentifier()
- Specified by:
getModelIdentifierin interfaceorg.eclipse.debug.core.model.IDebugElement- See Also:
IDebugElement.getModelIdentifier()
-
getDebugTarget
public org.eclipse.debug.core.model.IDebugTarget getDebugTarget()
- Specified by:
getDebugTargetin interfaceorg.eclipse.debug.core.model.IDebugElement- See Also:
IDebugElement.getDebugTarget()
-
getLaunch
public org.eclipse.debug.core.ILaunch getLaunch()
- Specified by:
getLaunchin interfaceorg.eclipse.debug.core.model.IDebugElement- See Also:
IDebugElement.getLaunch()
-
getAdapter
public <T> T getAdapter(java.lang.Class<T> adapter)
- Specified by:
getAdapterin interfaceorg.eclipse.core.runtime.IAdaptable- See Also:
IAdaptable.getAdapter(java.lang.Class)
-
-