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)
This method defines the behavior of the following expression. |
void |
set(java.lang.String name,
java.lang.Object value)
This method defines the behavior of the following expression. |
set
public void set(java.lang.String name,
java.lang.Object value)
- This method defines the behavior of the following expression.
aProperty . name = value
get
public java.lang.Object get(java.lang.String name)
- This method defines the behavior of the following expression.
aProperty . name