The objects tag contains a set of object tags which configure objects and their relationships. Though the objects tag is not required, it must be provided to define objects and their relationships.
This tag has no attributes.
|
Tag |
Required |
Description |
|---|---|---|
|
Yes |
Defines an object and it's relationships. |
<reactor>
<objects>
<object
name="User">
<hasOne
name="Address">
<relate
from="addressId" to="addressId" />
</hasOne>
</objects>
<object
name="Address">
<hasMany
name="User">
<relate
from="addressId" to="addressId" />
</hasMany>
</objects>
</objects>
</reactor>