public class Basic extends java.lang.Object implements Field
Java class for basic complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="basic">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="column" type="{http://java.sun.com/xml/ns/persistence/orm}column" minOccurs="0"/>
<choice>
<element name="lob" type="{http://java.sun.com/xml/ns/persistence/orm}lob" minOccurs="0"/>
<element name="temporal" type="{http://java.sun.com/xml/ns/persistence/orm}temporal" minOccurs="0"/>
<element name="enumerated" type="{http://java.sun.com/xml/ns/persistence/orm}enumerated" minOccurs="0"/>
</choice>
</sequence>
<attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="fetch" type="{http://java.sun.com/xml/ns/persistence/orm}fetch-type" />
<attribute name="optional" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="access" type="{http://java.sun.com/xml/ns/persistence/orm}access-type" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected AccessType |
access |
protected Column |
column |
protected EnumType |
enumerated |
protected FetchType |
fetch |
protected Lob |
lob |
protected java.lang.String |
name |
protected java.lang.Boolean |
optional |
protected TemporalType |
temporal |
| Constructor and Description |
|---|
Basic() |
Basic(java.lang.String name) |
Basic(java.lang.String name,
java.lang.String columnName) |
| Modifier and Type | Method and Description |
|---|---|
AccessType |
getAccess()
Gets the value of the access property.
|
Column |
getColumn()
Gets the value of the column property.
|
EnumType |
getEnumerated()
Gets the value of the enumerated property.
|
FetchType |
getFetch()
Gets the value of the fetch property.
|
java.lang.Object |
getKey()
Gets the immutable key for this object.
|
Lob |
getLob()
Gets the value of the lob property.
|
java.lang.String |
getName()
Gets the value of the name property.
|
TemporalType |
getTemporal()
Gets the value of the temporal property.
|
java.lang.Boolean |
isOptional()
Gets the value of the optional property.
|
void |
setAccess(AccessType value)
Sets the value of the access property.
|
void |
setColumn(Column value)
Sets the value of the column property.
|
void |
setEnumerated(EnumType value)
Sets the value of the enumerated property.
|
void |
setFetch(FetchType value)
Sets the value of the fetch property.
|
void |
setLob(Lob value)
Sets the value of the lob property.
|
void |
setName(java.lang.String value)
Sets the value of the name property.
|
void |
setOptional(java.lang.Boolean value)
Sets the value of the optional property.
|
void |
setTemporal(TemporalType value)
Sets the value of the temporal property.
|
protected Column column
protected Lob lob
protected TemporalType temporal
protected EnumType enumerated
protected java.lang.String name
protected FetchType fetch
protected java.lang.Boolean optional
protected AccessType access
public Basic()
public Basic(java.lang.String name)
public Basic(java.lang.String name,
java.lang.String columnName)
public Column getColumn()
public void setColumn(Column value)
public void setLob(Lob value)
value - allowed object is
Lobpublic TemporalType getTemporal()
TemporalTypepublic void setTemporal(TemporalType value)
value - allowed object is
TemporalTypepublic EnumType getEnumerated()
EnumTypepublic void setEnumerated(EnumType value)
value - allowed object is
EnumTypepublic java.lang.String getName()
public void setName(java.lang.String value)
public FetchType getFetch()
FetchTypepublic void setFetch(FetchType value)
value - allowed object is
FetchTypepublic java.lang.Boolean isOptional()
Booleanpublic void setOptional(java.lang.Boolean value)
value - allowed object is
Booleanpublic AccessType getAccess()
AccessTypepublic void setAccess(AccessType value)
value - allowed object is
AccessType