pnuts.lang
Interface Property
- All Known Subinterfaces:
- AbstractData
- All Known Implementing Classes:
- Package
- public interface Property
In Pnuts, access to a property of an object implements this interface
causes a call of methods in this interface.
See Pnuts Language Specification
for details.
Method Summary |
java.lang.Object |
get(java.lang.String name,
Context context)
This method defines the behavior of the following expression. |
void |
set(java.lang.String name,
java.lang.Object value,
Context context)
This method defines the behavior of the following expression. |
set
public void set(java.lang.String name,
java.lang.Object value,
Context context)
- This method defines the behavior of the following expression.
aProperty . name = value
- Parameters:
name
- the name.value
- the value.context
- the context in which the expression is evaluated.
get
public java.lang.Object get(java.lang.String name,
Context context)
- This method defines the behavior of the following expression.
aProperty . name
- Parameters:
name
- the name.conext
- the context in which the expression is evaluated.