public class Version extends Object
@Target({METHOD, FIELD}) @Retention(RUNTIME) public @interface Version {}
<p>Java class for version complex type.
<p>The following schema fragment specifies the expected content contained within this class.
<pre> <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> </pre>
| Modifier and Type | Field and Description |
|---|---|
protected AccessType |
access |
protected Column |
column |
protected String |
name |
protected TemporalType |
temporal |
| Constructor and Description |
|---|
Version() |
| Modifier and Type | Method and Description |
|---|---|
AccessType |
getAccess()
Gets the value of the access property.
|
Column |
getColumn()
Gets the value of the column property.
|
String |
getName()
Gets the value of the name property.
|
TemporalType |
getTemporal()
Gets the value of the temporal property.
|
void |
setAccess(AccessType value)
Sets the value of the access property.
|
void |
setColumn(Column value)
Sets the value of the column property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setTemporal(TemporalType value)
Sets the value of the temporal property.
|
protected Column column
protected TemporalType temporal
protected String name
protected AccessType access
public Column getColumn()
Gets the value of the column property.
Columnpublic void setColumn(Column value)
Sets the value of the column property.
value - allowed object is
Columnpublic TemporalType getTemporal()
Gets the value of the temporal property.
TemporalTypepublic void setTemporal(TemporalType value)
Sets the value of the temporal property.
value - allowed object is
TemporalTypepublic String getName()
Gets the value of the name property.
Stringpublic void setName(String value)
Sets the value of the name property.
value - allowed object is
Stringpublic AccessType getAccess()
Gets the value of the access property.
AccessTypepublic void setAccess(AccessType value)
Sets the value of the access property.
value - allowed object is
AccessTypeCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.