Class JaxbHbmNativeQueryCollectionLoadReturnType

  • All Implemented Interfaces:
    Serializable, NativeQueryNonScalarRootReturn, NativeQueryReturn

    public class JaxbHbmNativeQueryCollectionLoadReturnType
    extends Object
    implements Serializable, NativeQueryNonScalarRootReturn

    Java class for NativeQueryCollectionLoadReturnType complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="NativeQueryCollectionLoadReturnType">
         <restriction base="{}anyType">
           <sequence maxOccurs="unbounded" minOccurs="0">
             <element name="return-property" type="{}NativeQueryPropertyReturnType"/>
           <attribute name="alias" use="required" type="{}string" />
           <attribute name="lock-mode" type="{}LockModeEnum" default="read" />
           <attribute name="role" use="required" type="{}string" />
    See Also:
    Serialized Form
    • Constructor Detail

      • JaxbHbmNativeQueryCollectionLoadReturnType

        public JaxbHbmNativeQueryCollectionLoadReturnType()
    • Method Detail

      • getReturnProperty

        public List<JaxbHbmNativeQueryPropertyReturnType> getReturnProperty()
        Gets the value of the returnProperty property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the returnProperty property.

        For example, to add a new item, do as follows:


        Objects of the following type(s) are allowed in the list JaxbHbmNativeQueryPropertyReturnType

        Specified by:
        getReturnProperty in interface NativeQueryNonScalarRootReturn
        The nested property mappings
      • setAlias

        public void setAlias​(String value)
        Sets the value of the alias property.
        value - allowed object is String
      • setLockMode

        public void setLockMode​(LockMode value)
        Sets the value of the lockMode property.
        value - allowed object is String
      • getRole

        public String getRole()
        Gets the value of the role property.
        possible object is String
      • setRole

        public void setRole​(String value)
        Sets the value of the role property.
        value - allowed object is String