在帮助文件中有一个文章叫做《Programming patterns》,这里面提到了 很多API的类均是Accessor类的子类均有以下三个方法:
Method Name | Return Type | Description |
---|---|---|
get(propertyName) |
Varies | Gets the value of the property with the name propertyName |
set(propertyFields) |
N/A | For each key /value pair in propertyFields , this method sets the value of the property with the name key to value |