Class JaxbEntityResultImpl
java.lang.Object
org.hibernate.boot.jaxb.mapping.spi.JaxbEntityResultImpl
- All Implemented Interfaces:
Serializable
@Target({}) @Retention(RUNTIME)
public @interface EntityResult {
Class<?> entityClass();
LockModeType lockMode() default LockModeType.OPTIMISTIC;
FieldResult[] fields() default {};
String discriminatorColumn() default "";
}
<p>Java class for entity-result complex type</p>.
<p>The following schema fragment specifies the expected content contained within this class.</p>
<pre>{@code
<complexType name="entity-result">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="lock-mode" type="{http://www.hibernate.org/xsd/orm/mapping}lock-mode-type" minOccurs="0"/>
<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>
}</pre>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected List<JaxbFieldResultImpl> protected LockModeType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the discriminatorColumn property.Gets the value of the entityClass property.Gets the value of the fieldResult property.Gets the value of the lockMode property.voidsetDiscriminatorColumn(String value) Sets the value of the discriminatorColumn property.voidsetEntityClass(String value) Sets the value of the entityClass property.voidsetLockMode(LockModeType value) Sets the value of the lockMode property.
-
Field Details
-
lockMode
-
fieldResult
-
entityClass
-
discriminatorColumn
-
-
Constructor Details
-
JaxbEntityResultImpl
public JaxbEntityResultImpl()
-
-
Method Details
-
getLockMode
Gets the value of the lockMode property.- Returns:
- possible object is
String
-
setLockMode
Sets the value of the lockMode property.- Parameters:
value- allowed object isString
-
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
setmethod 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
JaxbFieldResultImpl- Returns:
- The value of the fieldResult property.
-
getEntityClass
-
setEntityClass
-
getDiscriminatorColumn
-
setDiscriminatorColumn
-