... | ... | @@ -147,6 +147,7 @@ The usage of these methods are only allowed when it is clear that there is a mai |
|
|
|
|
|
|
|
|
For many relations where the convention does not apply, the following methods must be used instead (where XXX is the name of the related thing):
|
|
|
|
|
|
```
|
|
|
Main Relation Other Relations
|
|
|
get() getXXX()
|
... | ... | @@ -164,6 +165,9 @@ count() countXXX() |
|
|
keys() n/a
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
While "setXXX" and "replaceXXX" are very similar, there is one notable difference: "setXXX" may replace, or add new elements to the relation. "replaceXXX", on the other hand, cannot add new elements. If an unrecognized key as passed to "replaceXXX" it must throw an exception.
|
|
|
|
|
|
|
... | ... | |