public class JaxbLoadCollectionElement extends Object
Java class for load-collection-element complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="load-collection-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="role" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
alias |
protected JaxbLockModeAttribute |
lockMode |
protected List<JaxbReturnPropertyElement> |
returnProperty |
protected String |
role |
| Constructor and Description |
|---|
JaxbLoadCollectionElement() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAlias()
Gets the value of the alias property.
|
JaxbLockModeAttribute |
getLockMode()
Gets the value of the lockMode property.
|
List<JaxbReturnPropertyElement> |
getReturnProperty()
Gets the value of the returnProperty property.
|
String |
getRole()
Gets the value of the role property.
|
void |
setAlias(String value)
Sets the value of the alias property.
|
void |
setLockMode(JaxbLockModeAttribute value)
Sets the value of the lockMode property.
|
void |
setRole(String value)
Sets the value of the role property.
|
protected List<JaxbReturnPropertyElement> returnProperty
protected String alias
protected JaxbLockModeAttribute lockMode
protected String role
public List<JaxbReturnPropertyElement> getReturnProperty()
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
public String getAlias()
Stringpublic void setAlias(String value)
value - allowed object is
Stringpublic JaxbLockModeAttribute getLockMode()
JaxbLockModeAttributepublic void setLockMode(JaxbLockModeAttribute value)
value - allowed object is
JaxbLockModeAttributepublic String getRole()
StringCopyright © 2012 JBoss by Red Hat. All Rights Reserved.