Class JaxbConstructorResultImpl
java.lang.Object
org.hibernate.boot.jaxb.mapping.spi.JaxbConstructorResultImpl
- All Implemented Interfaces:
Serializable
@Target({}) @Retention(RUNTIME)
public @interface ConstructorResult {
Class<?> targetClass();
ColumnResult[] columns();
}
<p>Java class for constructor-result complex type</p>.
<p>The following schema fragment specifies the expected content contained within this class.</p>
<pre>{@code
<complexType name="constructor-result">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="column" type="{http://www.hibernate.org/xsd/orm/mapping}column-result" maxOccurs="unbounded"/>
</sequence>
<attribute name="target-class" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
}</pre>
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the columns property.Gets the value of the targetClass property.voidsetTargetClass(String value) Sets the value of the targetClass property.
-
Field Details
-
columns
-
targetClass
-
-
Constructor Details
-
JaxbConstructorResultImpl
public JaxbConstructorResultImpl()
-
-
Method Details
-
getColumns
Gets the value of the columns 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 columns property.For example, to add a new item, do as follows:
getColumns().add(newItem);
Objects of the following type(s) are allowed in the list
JaxbColumnResultImpl- Returns:
- The value of the columns property.
-
getTargetClass
-
setTargetClass
-