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

public Class JaxbVersion

extends Object
implements Serializable, PersistentAttribute
Class Inheritance
All Implemented Interfaces
org.hibernate.boot.jaxb.mapping.spi.PersistentAttribute, java.io.Serializable
Annotations
@XmlAccessorType:FIELD
@XmlType
name:version
namespace:http://xmlns.jcp.org/xml/ns/persistence/orm
propOrder:column, temporal
Imports
java.io.Serializable, javax.persistence.AccessType, .TemporalType, javax.xml.bind.annotation.XmlAccessType, .XmlAccessorType, .XmlAttribute, .XmlElement, .XmlSchemaType, .XmlType, javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter

@Target({METHOD, FIELD}) @Retention(RUNTIME) public @interface Version {}

Java class for version complex type.

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

<complexType name="version">
  <complexContent>
    <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
      <sequence>
        <element name="column" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}column" minOccurs="0"/>
        <element name="temporal" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}temporal" minOccurs="0"/>
      </sequence>
      <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
      <attribute name="access" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}access-type" />
    </restriction>
  </complexContent>
</complexType>

Field Summary

Modifier and TypeField and Description
protected AccessType
protected JaxbColumn
protected String
protected TemporalType

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public AccessType

Returns:

possible object is String
getAccess
()

Implements org.hibernate.boot.jaxb.mapping.spi.PersistentAttribute.getAccess.

Gets the value of the access property.
public JaxbColumn

Returns:

possible object is JaxbColumn
getColumn
()

Gets the value of the column property.

public String

Returns:

possible object is String
getName
()

Implements org.hibernate.boot.jaxb.mapping.spi.PersistentAttribute.getName.

Gets the value of the name property.
public TemporalType

Returns:

possible object is String
getTemporal
()

Gets the value of the temporal property.

public void
setAccess(AccessType
allowed object is String
value
)

Implements org.hibernate.boot.jaxb.mapping.spi.PersistentAttribute.setAccess.

Sets the value of the access property.
public void
setColumn(JaxbColumn
allowed object is JaxbColumn
value
)

Sets the value of the column property.

public void
setName(String
allowed object is String
value
)

Sets the value of the name property.

public void
setTemporal(TemporalType
allowed object is String
value
)

Sets the value of the temporal property.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

accessback to summary
protected AccessType access
Annotations
@XmlAttribute
name:access
@XmlJavaTypeAdapter:Adapter1
columnback to summary
protected JaxbColumn column
Annotations
@XmlElement
namespace:http://xmlns.jcp.org/xml/ns/persistence/orm
nameback to summary
protected String name
Annotations
@XmlAttribute
name:name
required:true
temporalback to summary
protected TemporalType temporal
Annotations
@XmlElement
namespace:http://xmlns.jcp.org/xml/ns/persistence/orm
type:String
@XmlJavaTypeAdapter:Adapter10
@XmlSchemaType
name:token

Constructor Detail

JaxbVersionback to summary
public JaxbVersion()

Method Detail

getAccessback to summary
public AccessType getAccess()

Implements org.hibernate.boot.jaxb.mapping.spi.PersistentAttribute.getAccess.

Gets the value of the access property.

Returns:AccessType

possible object is String

getColumnback to summary
public JaxbColumn getColumn()

Gets the value of the column property.

Returns:JaxbColumn

possible object is JaxbColumn

getNameback to summary
public String getName()

Implements org.hibernate.boot.jaxb.mapping.spi.PersistentAttribute.getName.

Gets the value of the name property.

Returns:String

possible object is String

getTemporalback to summary
public TemporalType getTemporal()

Gets the value of the temporal property.

Returns:TemporalType

possible object is String

setAccessback to summary
public void setAccess(AccessType value)

Implements org.hibernate.boot.jaxb.mapping.spi.PersistentAttribute.setAccess.

Sets the value of the access property.

Parameters
value:AccessType

allowed object is String

setColumnback to summary
public void setColumn(JaxbColumn value)

Sets the value of the column property.

Parameters
value:JaxbColumn

allowed object is JaxbColumn

setNameback to summary
public void setName(String value)

Sets the value of the name property.

Parameters
value:String

allowed object is String

setTemporalback to summary
public void setTemporal(TemporalType value)

Sets the value of the temporal property.

Parameters
value:TemporalType

allowed object is String