@Target(value=TYPE) @Retention(value=RUNTIME) @Inherited @Documented public @interface Model
| Modifier and Type | Optional Element and Description |
|---|---|
String |
createMethod
Specifies the create method.
|
String |
destroyMethod
Specifies the destroy method.
|
String |
idProperty
Name of the id property.
|
boolean |
paging
If true a reader config with root : 'records' will be added to the model
object.
|
String |
readMethod
Specifies the read method.
|
String |
updateMethod
Specifies the update method.
|
String |
value
"Classname" of the model.
|
public abstract String value
If not present full qualified name of the class is used.
public abstract String idProperty
If not present default value of 'id' is used.
public abstract boolean paging
ExtDirectStoreReadResult
reader : {
root : 'records'
}
Default value is falsepublic abstract String readMethod
If only the readMethod is specified generator will write property directFn instead.
public abstract String createMethod
public abstract String updateMethod
public abstract String destroyMethod
Copyright © 2010-2013. All Rights Reserved.