public class ContactWithNumbers { @Embedded public Contact contact; @Relation(parentColumn = "id", entityColumn = "contactId", entity = ContactNumber.class) public List<ContactNumber> contactNumberList; }
public class DatasetWithFilledAutofillFields { @Embedded public AutofillDataset autofillDataset;
public class FieldTypeWithHeuristics { @Embedded public FieldType fieldType; @Relation(parentColumn = "typeName", entityColumn = "fieldTypeName", entity = AutofillHint.class) public List<AutofillHint> autofillHints; @Relation(parentColumn = "typeName", entityColumn = "fieldTypeName", entity = ResourceIdHeuristic.class) public List<ResourceIdHeuristic> resourceIdHeuristics; public FieldType getFieldType() { return fieldType; } public List<AutofillHint> getAutofillHints() { return autofillHints; } public List<ResourceIdHeuristic> getResourceIdHeuristics() { return resourceIdHeuristics; } }
@Embedded private final FakeData mFakeData;
@Expose protected Boolean secureNetworkBeaconSupported; @Embedded @Expose protected NetworkTransmitSettings networkTransmitSettings; @Embedded @Expose protected RelaySettings relaySettings; @Expose(serialize = false) Boolean lowPowerFeatureSupported = null; @Embedded @Expose Features nodeFeatures = null; @Embedded @Expose SparseIntArrayParcelable mSeqAuth = new SparseIntArrayParcelable();