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

public Class JaxbId

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:id
namespace:http://xmlns.jcp.org/xml/ns/persistence/orm
propOrder:column, generatedValue, temporal, tableGenerator, sequenceGenerator
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 Id {}

Java class for id complex type.

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

<complexType name="id">
  <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="generated-value" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}generated-value" minOccurs="0"/>
        <element name="temporal" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}temporal" minOccurs="0"/>
        <element name="table-generator" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}table-generator" minOccurs="0"/>
        <element name="sequence-generator" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}sequence-generator" 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 JaxbGeneratedValue
protected String
protected JaxbSequenceGenerator
protected JaxbTableGenerator
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 JaxbGeneratedValue

Returns:

possible object is JaxbGeneratedValue
getGeneratedValue
()

Gets the value of the generatedValue 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 JaxbSequenceGenerator

Returns:

possible object is JaxbSequenceGenerator
getSequenceGenerator
()

Gets the value of the sequenceGenerator property.

public JaxbTableGenerator

Returns:

possible object is JaxbTableGenerator
getTableGenerator
()

Gets the value of the tableGenerator 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
setGeneratedValue(JaxbGeneratedValue
allowed object is JaxbGeneratedValue
value
)

Sets the value of the generatedValue property.

public void
setName(String
allowed object is String
value
)

Sets the value of the name property.

public void
setSequenceGenerator(JaxbSequenceGenerator
allowed object is JaxbSequenceGenerator
value
)

Sets the value of the sequenceGenerator property.

public void
setTableGenerator(JaxbTableGenerator
allowed object is JaxbTableGenerator
value
)

Sets the value of the tableGenerator 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
generatedValueback to summary
protected JaxbGeneratedValue generatedValue
Annotations
@XmlElement
name:generated-value
namespace:http://xmlns.jcp.org/xml/ns/persistence/orm
nameback to summary
protected String name
Annotations
@XmlAttribute
name:name
required:true
sequenceGeneratorback to summary
protected JaxbSequenceGenerator sequenceGenerator
Annotations
@XmlElement
name:sequence-generator
namespace:http://xmlns.jcp.org/xml/ns/persistence/orm
tableGeneratorback to summary
protected JaxbTableGenerator tableGenerator
Annotations
@XmlElement
name:table-generator
namespace:http://xmlns.jcp.org/xml/ns/persistence/orm
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

JaxbIdback to summary
public JaxbId()

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

getGeneratedValueback to summary
public JaxbGeneratedValue getGeneratedValue()

Gets the value of the generatedValue property.

Returns:JaxbGeneratedValue

possible object is JaxbGeneratedValue

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

getSequenceGeneratorback to summary
public JaxbSequenceGenerator getSequenceGenerator()

Gets the value of the sequenceGenerator property.

Returns:JaxbSequenceGenerator

possible object is JaxbSequenceGenerator

getTableGeneratorback to summary
public JaxbTableGenerator getTableGenerator()

Gets the value of the tableGenerator property.

Returns:JaxbTableGenerator

possible object is JaxbTableGenerator

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

setGeneratedValueback to summary
public void setGeneratedValue(JaxbGeneratedValue value)

Sets the value of the generatedValue property.

Parameters
value:JaxbGeneratedValue

allowed object is JaxbGeneratedValue

setNameback to summary
public void setName(String value)

Sets the value of the name property.

Parameters
value:String

allowed object is String

setSequenceGeneratorback to summary
public void setSequenceGenerator(JaxbSequenceGenerator value)

Sets the value of the sequenceGenerator property.

Parameters
value:JaxbSequenceGenerator

allowed object is JaxbSequenceGenerator

setTableGeneratorback to summary
public void setTableGenerator(JaxbTableGenerator value)

Sets the value of the tableGenerator property.

Parameters
value:JaxbTableGenerator

allowed object is JaxbTableGenerator

setTemporalback to summary
public void setTemporal(TemporalType value)

Sets the value of the temporal property.

Parameters
value:TemporalType

allowed object is String