Package org.kuali.rice.krad.data
Class CopyOption
java.lang.Object
org.kuali.rice.krad.data.CopyOption
- All Implemented Interfaces:
Serializable
CopyOption is used when calling the
method to adjust the behavior of
the method.
See the constants defined within the class for the available options and descriptions.
invalid reference
DataObjectService#copyInstance(Object)
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic CopyOptionSpecify that the <tt>objectId</tt> field (seeGloballyUnique) should be cleared on the copied object and all children.static CopyOptionSpecify that the PK fields on the object must be cleared as part of the copy operation.static CopyOptionSpecify that theVersionannotated field should be cleared if present on the copied object. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
RESET_PK_FIELDS
Specify that the PK fields on the object must be cleared as part of the copy operation. -
RESET_VERSION_NUMBER
Specify that theVersionannotated field should be cleared if present on the copied object. -
RESET_OBJECT_ID
Specify that the <tt>objectId</tt> field (seeGloballyUnique) should be cleared on the copied object and all children.
-
-
Constructor Details
-
CopyOption
Sets the option Id- Parameters:
optionId- cannot be null or blank.
-
-
Method Details