org.hibernate.internal.jaxb.mapping.hbm
Class JaxbReturnJoinElement

java.lang.Object
  extended by org.hibernate.internal.jaxb.mapping.hbm.JaxbReturnJoinElement

public class JaxbReturnJoinElement
extends Object

Java class for return-join-element complex type.

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

 <complexType name="return-join-element">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence maxOccurs="unbounded" minOccurs="0">
         <element name="return-property" type="{http://www.hibernate.org/xsd/hibernate-mapping}return-property-element"/>
       </sequence>
       <attribute name="alias" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="lock-mode" type="{http://www.hibernate.org/xsd/hibernate-mapping}lock-mode-attribute" default="read" />
       <attribute name="property" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  String alias
           
protected  JaxbLockModeAttribute lockMode
           
protected  String property
           
protected  List<JaxbReturnPropertyElement> returnProperty
           
 
Constructor Summary
JaxbReturnJoinElement()
           
 
Method Summary
 String getAlias()
          Gets the value of the alias property.
 JaxbLockModeAttribute getLockMode()
          Gets the value of the lockMode property.
 String getProperty()
          Gets the value of the property property.
 List<JaxbReturnPropertyElement> getReturnProperty()
          Gets the value of the returnProperty property.
 void setAlias(String value)
          Sets the value of the alias property.
 void setLockMode(JaxbLockModeAttribute value)
          Sets the value of the lockMode property.
 void setProperty(String value)
          Sets the value of the property property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

returnProperty

protected List<JaxbReturnPropertyElement> returnProperty

alias

protected String alias

lockMode

protected JaxbLockModeAttribute lockMode

property

protected String property
Constructor Detail

JaxbReturnJoinElement

public JaxbReturnJoinElement()
Method Detail

getReturnProperty

public List<JaxbReturnPropertyElement> 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 JAXB object. This is why there is not a set method for the returnProperty property.

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

    getReturnProperty().add(newItem);
 

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


getAlias

public String getAlias()
Gets the value of the alias property.

Returns:
possible object is String

setAlias

public void setAlias(String value)
Sets the value of the alias property.

Parameters:
value - allowed object is String

getLockMode

public JaxbLockModeAttribute getLockMode()
Gets the value of the lockMode property.

Returns:
possible object is JaxbLockModeAttribute

setLockMode

public void setLockMode(JaxbLockModeAttribute value)
Sets the value of the lockMode property.

Parameters:
value - allowed object is JaxbLockModeAttribute

getProperty

public String getProperty()
Gets the value of the property property.

Returns:
possible object is String

setProperty

public void setProperty(String value)
Sets the value of the property property.

Parameters:
value - allowed object is String


Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.