new Property(tag, type [, name] [, defaultValue])
Parameters:
Name | Type | Argument | Default | Description |
---|---|---|---|---|
tag |
string | the property's tag |
||
type |
string | Tag of property type |
||
name |
string |
<optional> |
'' | Property name |
defaultValue |
* |
<optional> |
Default value for instances of the related model |