Annotation Interface ReferenceCopy
Annotation for
Component fields to indicate only the property
reference should be made (as opposed to a new object) when doing a component
copy- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanIndicates whether a new collection instance should be made with collection elements copied by referencebooleanIndicates that a field should be omitted from copying.
-
Element Details
-
newCollectionInstance
boolean newCollectionInstanceIndicates whether a new collection instance should be made with collection elements copied by reference- Returns:
- boolean true if new collection instance should be made, false if the whole collection should be copied by reference
- Default:
false
-
referenceTransient
boolean referenceTransientIndicates that a field should be omitted from copying.- Returns:
- true if the field should be omitted from copying, false to follow
newCollectionInstance()semantics.
- Default:
false
-