@ws.sdo.value-object (method-level)
Scope
Method
Multiplicity
(0..*): You can use this tag zero or more times on a method in any Java source file that implements a CMP entity bean.
Purpose
This tag defines defines the CMP attributes or relationships to be contributed to a value-object SDO.
Parameters
Parameter Type Applicability Description Mandatory match text CMP, CMR field get methods The name of the value-object to which this member will be contributed. True. Because this is used as a mechanism to create “light” or “deep” SDOs, then the member must be matched to a named value-object. target-value-object text CMR "get" methods only The name of the value-object defined for the related CMP bean. False. If unspecified, then the default value-object of the related bean is assumed. The default must exist in this case. contained boolean CMR "get" methods only Indicates whether the generated SDO reference is containment based or shared aggregation. Defaults to false, meaning shared aggregation. False
Parent topic
Annotations for session facades and SDOs