|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.internal.jaxb.mapping.hbm.JaxbLoadCollectionElement
public class JaxbLoadCollectionElement
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>
| Field Summary | |
|---|---|
protected String |
alias
|
protected JaxbLockModeAttribute |
lockMode
|
protected List<JaxbReturnPropertyElement> |
returnProperty
|
protected String |
role
|
| Constructor Summary | |
|---|---|
JaxbLoadCollectionElement()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected List<JaxbReturnPropertyElement> returnProperty
protected String alias
protected JaxbLockModeAttribute lockMode
protected String role
| Constructor Detail |
|---|
public JaxbLoadCollectionElement()
| Method Detail |
|---|
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()
Stringpublic void setRole(String value)
value - allowed object is
String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||