Top Description Fields Constructors Methods
org.hibernate.boot.jaxb.mapping.spi

public Class JaxbInheritance

extends Object
implements Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable
Annotations
@XmlAccessorType:FIELD
@XmlType
name:inheritance
namespace:http://xmlns.jcp.org/xml/ns/persistence/orm
Imports
java.io.Serializable, javax.persistence.InheritanceType, javax.xml.bind.annotation.XmlAccessType, .XmlAccessorType, .XmlAttribute, .XmlType, javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter

@Target({TYPE}) @Retention(RUNTIME) public @interface Inheritance { InheritanceType strategy() default SINGLE_TABLE; }

Java class for inheritance complex type.

The following schema fragment specifies the expected content contained within this class.

<complexType name="inheritance">
  <complexContent>
    <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
      <attribute name="strategy" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}inheritance-type" />
    </restriction>
  </complexContent>
</complexType>

Field Summary

Modifier and TypeField and Description
protected InheritanceType

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public InheritanceType

Returns:

possible object is String
getStrategy
()

Gets the value of the strategy property.

public void
setStrategy(InheritanceType
allowed object is String
value
)

Sets the value of the strategy property.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

strategyback to summary
protected InheritanceType strategy
Annotations
@XmlAttribute
name:strategy
@XmlJavaTypeAdapter:Adapter7

Constructor Detail

JaxbInheritanceback to summary
public JaxbInheritance()

Method Detail

getStrategyback to summary
public InheritanceType getStrategy()

Gets the value of the strategy property.

Returns:InheritanceType

possible object is String

setStrategyback to summary
public void setStrategy(InheritanceType value)

Sets the value of the strategy property.

Parameters
value:InheritanceType

allowed object is String