Object is its own entity so that it is easier to add relations without having to load the related metadata.
Note: It is important that both Metadata are managed (have been saved or loaded from the MetadataRepository.) For example:
Metadata metadata1 = _metadataRepo.findOne(id); Metadata metadata2 = _metadataRepo.findOne(id2); new MetadataRelation(metadata1, metadata2);
@author Jesse
|
|
|
|
|
|
|
|
|
|
|
|