@io.micronaut.data.annotation.MappedEntity @DomainEntity @groovy.transform.ToString(includePackage: false, includeNames: true, includes: [name, title, notes, notDisplayed, moreNotes, dateCreated, dateUpdated, allFieldsDomain, allFieldsDomains, sampleChildren, uuid]) @groovy.transform.EqualsAndHashCode(includes: [name]) @com.fasterxml.jackson.annotation.JsonFilter(value: searchableFilter) @java.lang.SuppressWarnings(value: unused) class SampleParent extends java.lang.Object implements SampleParentInterface
A test/Sample parent domain class. Has child and foreign references.
Fields Include: name, title, notes, notDisplayed, moreNotes. allFieldsDomains, allFieldDomain, sampleChildren, dateCreated, dateUpdated
| Type | Name and description |
|---|---|
private AllFieldsDomain |
allFieldsDomainA reference to another domain object. |
private java.util.List<AllFieldsDomain> |
allFieldsDomainsA list of foreign references. |
private static java.lang.Object |
allowInitialDataLoadIf true, then the initial data load will load a record. |
private java.lang.String |
customFields |
private java.util.Date |
dateCreated |
private java.util.Date |
dateUpdated |
private static java.lang.Object |
fieldOrder |
private static java.lang.Object |
keys |
private java.lang.String |
moreNotes |
private java.lang.String |
name |
private java.lang.String |
notDisplayed |
private java.lang.String |
notes |
private java.util.List<SampleChild> |
sampleChildrenA list of children. |
private static java.lang.Object |
searchableSearchable domain. |
private java.lang.String |
title |
private java.util.UUID |
uuid |
private java.lang.Integer |
version |
| Constructor and description |
|---|
SampleParent
() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
java.util.List |
findRelatedRecords()Support routine for archiving. |
|
static java.lang.Object |
initialDataLoad()Load initial records. |
|
java.lang.String |
toShortString()Returns a short representation of this object. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
A reference to another domain object.
A list of foreign references.
If true, then the initial data load will load a record.
A list of children.
Searchable domain.
Support routine for archiving. Finds related records that should be archived when this record is archived. This sample class finds any AllFieldsDomains with the same key value.
Load initial records. Dummy test records for test mode only.
Returns a short representation of this object. Suitable for drop-down lists.
Groovy Documentation