public class JaxbReturnElement extends Object
Java class for return-element complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="return-element"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence maxOccurs="unbounded" minOccurs="0"> <element name="return-discriminator" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="column" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType> </element> <element name="return-property" type="{http://www.hibernate.org/xsd/hibernate-mapping}return-property-element"/> </sequence> <attribute name="alias" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="class" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="entity-name" 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" /> </restriction> </complexContent> </complexType>
Modifier and Type | Class and Description |
---|---|
static class |
JaxbReturnElement.JaxbReturnDiscriminator
Java class for anonymous complex type.
|
Modifier and Type | Field and Description |
---|---|
protected String |
alias |
protected String |
clazz |
protected String |
entityName |
protected JaxbLockModeAttribute |
lockMode |
protected List<Object> |
returnDiscriminatorAndReturnProperty |
Constructor and Description |
---|
JaxbReturnElement() |
Modifier and Type | Method and Description |
---|---|
String |
getAlias()
Gets the value of the alias property.
|
String |
getClazz()
Gets the value of the clazz property.
|
String |
getEntityName()
Gets the value of the entityName property.
|
JaxbLockModeAttribute |
getLockMode()
Gets the value of the lockMode property.
|
List<Object> |
getReturnDiscriminatorAndReturnProperty()
Gets the value of the returnDiscriminatorAndReturnProperty property.
|
void |
setAlias(String value)
Sets the value of the alias property.
|
void |
setClazz(String value)
Sets the value of the clazz property.
|
void |
setEntityName(String value)
Sets the value of the entityName property.
|
void |
setLockMode(JaxbLockModeAttribute value)
Sets the value of the lockMode property.
|
protected String alias
protected String clazz
protected String entityName
protected JaxbLockModeAttribute lockMode
public List<Object> getReturnDiscriminatorAndReturnProperty()
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 returnDiscriminatorAndReturnProperty property.
For example, to add a new item, do as follows:
getReturnDiscriminatorAndReturnProperty().add(newItem);
Objects of the following type(s) are allowed in the list
JaxbReturnElement.JaxbReturnDiscriminator
JaxbReturnPropertyElement
public String getAlias()
String
public void setAlias(String value)
value
- allowed object is
String
public String getClazz()
String
public void setClazz(String value)
value
- allowed object is
String
public String getEntityName()
String
public void setEntityName(String value)
value
- allowed object is
String
public JaxbLockModeAttribute getLockMode()
JaxbLockModeAttribute
public void setLockMode(JaxbLockModeAttribute value)
value
- allowed object is
JaxbLockModeAttribute
Copyright © 2018 JBoss by Red Hat. All rights reserved.