Package org.hibernate.boot.jaxb.mapping
Class JaxbEntityResult
- java.lang.Object
-
- org.hibernate.boot.jaxb.mapping.JaxbEntityResult
-
- All Implemented Interfaces:
Serializable
public class JaxbEntityResult extends Object implements Serializable
See `@jakarta.persistence.EntityResult`Java class for entity-result complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="entity-result"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="field-result" type="{http://www.hibernate.org/xsd/orm/mapping}field-result" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="entity-class" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="discriminator-column" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected String
discriminatorColumn
protected String
entityClass
protected List<JaxbFieldResult>
fieldResult
-
Constructor Summary
Constructors Constructor Description JaxbEntityResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDiscriminatorColumn()
Gets the value of the discriminatorColumn property.String
getEntityClass()
Gets the value of the entityClass property.List<JaxbFieldResult>
getFieldResult()
Gets the value of the fieldResult property.void
setDiscriminatorColumn(String value)
Sets the value of the discriminatorColumn property.void
setEntityClass(String value)
Sets the value of the entityClass property.
-
-
-
Field Detail
-
fieldResult
protected List<JaxbFieldResult> fieldResult
-
entityClass
protected String entityClass
-
discriminatorColumn
protected String discriminatorColumn
-
-
Method Detail
-
getFieldResult
public List<JaxbFieldResult> getFieldResult()
Gets the value of the fieldResult 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 fieldResult property.For example, to add a new item, do as follows:
getFieldResult().add(newItem);
Objects of the following type(s) are allowed in the list
JaxbFieldResult
- Returns:
- The value of the fieldResult property.
-
getEntityClass
public String getEntityClass()
Gets the value of the entityClass property.- Returns:
- possible object is
String
-
setEntityClass
public void setEntityClass(String value)
Sets the value of the entityClass property.- Parameters:
value
- allowed object isString
-
getDiscriminatorColumn
public String getDiscriminatorColumn()
Gets the value of the discriminatorColumn property.- Returns:
- possible object is
String
-
-