Class ObjectReference
- java.lang.Object
-
- org.eclipse.m2m.atl.debug.core.adwp.Value
-
- org.eclipse.m2m.atl.debug.core.adwp.ObjectReference
-
- Direct Known Subclasses:
LocalObjectReference
,LocalObjectReference
,RemoteObjectReference
public abstract class ObjectReference extends Value
A reference to an object.
-
-
Field Summary
Fields Modifier and Type Field Description protected int
id
-
Constructor Summary
Constructors Modifier Constructor Description protected
ObjectReference(int id)
Creates a new reference with the given id.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Value
call(java.lang.String opName, java.util.List<Value> args)
Calls an operation with the given arguments.abstract Value
get(java.lang.String propName)
Gets a value for the given property.int
getId()
abstract void
set(java.lang.String propName, Value value)
Sets a value for the given property.java.lang.String
toString()
-
-
-
Method Detail
-
get
public abstract Value get(java.lang.String propName)
Gets a value for the given property.- Parameters:
propName
- the property name- Returns:
- the value
-
set
public abstract void set(java.lang.String propName, Value value)
Sets a value for the given property.- Parameters:
propName
- the property namevalue
- the value to set
-
call
public abstract Value call(java.lang.String opName, java.util.List<Value> args)
Calls an operation with the given arguments.- Parameters:
opName
- the operation nameargs
- the arguments- Returns:
- the operation call result
-
getId
public int getId()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
- See Also:
Object.toString()
-
-