Issue Details (XML | Word | Printable)

Key: NUCCORE-914
Type: Task Task
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
Reporter: Andy Jefferson
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.
DataNucleus Core

Provide convenience method to return if a member is embedded

Created: 02/Oct/12 03:18 PM   Updated: 05/Oct/12 05:09 PM   Resolved: 02/Oct/12 03:21 PM
Component/s: Code Structure, MetaData
Affects Version/s: None
Fix Version/s: 3.1.3

 Description  « Hide
Metadata can specify that a member returns true from "isEmbedded", but also that it has a definition of how it is embedded, or alternatively that the related type is "embeddedOnly". Having a single method that returns whether the related object is stored embedded would help things

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 02/Oct/12 03:21 PM
See MetaDataUtils.isMemberEmbedded(), catering for mmd.isEmbedded, mmd.getEmbeddedMetaData, and whether the related type has embeddedOnly.