Annotation Type PersistReference
Used on the accessor of an accessor/mutator pair to identify references within model interfaces
to other (
PortalEntity
s).-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionboolean
Is this an eager reference? True if it is, false if it's lazy.boolean
Should the referenced object(s) be exported when this object is exported?boolean
Is this a strong (aggregating) reference? PortalEntities referenced by strong references are owned by this PortalEntity, and will be deleted when this PortalEntity is deleted. -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionboolean
Should the referenced object(s) automatically derive their namespace from the source object when this is a strong reference?boolean
Should the referenced object(s) inherit the Security ID of the source object?boolean
Should the referenced object(s) derive their namespace from the source object?
-
Element Details
-
eager
boolean eagerIs this an eager reference? True if it is, false if it's lazy. PortalEntities referenced by eager references will be loaded into memory at the same time as this PortalEntity, whereas PortalEntities referenced by lazy references are loaded only on demend. -
strong
boolean strongIs this a strong (aggregating) reference? PortalEntities referenced by strong references are owned by this PortalEntity, and will be deleted when this PortalEntity is deleted. -
export
boolean exportShould the referenced object(s) be exported when this object is exported?
-
-
-
propagateNamespace
boolean propagateNamespaceShould the referenced object(s) derive their namespace from the source object?- Default:
- false
-
autoPropagateNamespace
boolean autoPropagateNamespaceShould the referenced object(s) automatically derive their namespace from the source object when this is a strong reference?- Default:
- true
-
inheritSecurity
boolean inheritSecurityShould the referenced object(s) inherit the Security ID of the source object?- Default:
- false
-