public class JaxbHbmBasicAttributeType extends JaxbHbmToolingHintContainer implements Serializable, SimpleValueTypeInfo, SingularAttributeInfo, ToolingHintContainer, TypeContainer
<p>Java class for BasicAttributeType complex type.
<p>The following schema fragment specifies the expected content contained within this class.
<pre> <complexType name="BasicAttributeType"> <complexContent> <extension base="{http://www.hibernate.org/xsd/orm/hbm}ToolingHintContainer"> <sequence> <choice maxOccurs="unbounded" minOccurs="0"> <group ref="{http://www.hibernate.org/xsd/orm/hbm}column-or-formula"/> </choice> <element name="type" type="{http://www.hibernate.org/xsd/orm/hbm}TypeSpecificationType" minOccurs="0"/> </sequence> <attribute name="access" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="column" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="formula" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="generated" type="{http://www.hibernate.org/xsd/orm/hbm}GenerationTimingEnum" default="never" /> <attribute name="index" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="insert" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="lazy" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> <attribute name="length" type="{http://www.w3.org/2001/XMLSchema}int" /> <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="node" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="not-null" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="optimistic-lock" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> <attribute name="precision" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="scale" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="unique" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> <attribute name="unique-key" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="update" type="{http://www.w3.org/2001/XMLSchema}boolean" /> </extension> </complexContent> </complexType> </pre>
| Modifier and Type | Field and Description |
|---|---|
protected String |
access |
protected String |
columnAttribute |
protected List<Serializable> |
columnOrFormula |
protected String |
formulaAttribute |
protected GenerationTiming |
generated |
protected String |
index |
protected Boolean |
insert |
protected Boolean |
lazy |
protected Integer |
length |
protected String |
name |
protected String |
node |
protected Boolean |
notNull |
protected Boolean |
optimisticLock |
protected String |
precision |
protected String |
scale |
protected JaxbHbmTypeSpecificationType |
type |
protected String |
typeAttribute |
protected Boolean |
unique |
protected String |
uniqueKey |
protected Boolean |
update |
toolingHints| Constructor and Description |
|---|
JaxbHbmBasicAttributeType() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAccess()
Gets the value of the access property.
|
String |
getColumnAttribute()
Gets the value of the columnAttribute property.
|
List<Serializable> |
getColumnOrFormula()
Gets the value of the columnOrFormula property.
|
String |
getFormulaAttribute()
Gets the value of the formulaAttribute property.
|
GenerationTiming |
getGenerated()
Gets the value of the generated property.
|
String |
getIndex()
Gets the value of the index property.
|
Integer |
getLength()
Gets the value of the length property.
|
String |
getName()
Gets the value of the name property.
|
String |
getNode()
Gets the value of the node property.
|
String |
getPrecision()
Gets the value of the precision property.
|
String |
getScale()
Gets the value of the scale property.
|
JaxbHbmTypeSpecificationType |
getType()
Gets the value of the type property.
|
String |
getTypeAttribute()
Gets the value of the typeAttribute property.
|
String |
getUniqueKey()
Gets the value of the uniqueKey property.
|
Boolean |
isInsert()
Gets the value of the insert property.
|
boolean |
isLazy()
Gets the value of the lazy property.
|
Boolean |
isNotNull()
Gets the value of the notNull property.
|
boolean |
isOptimisticLock()
Gets the value of the optimisticLock property.
|
boolean |
isUnique()
Gets the value of the unique property.
|
Boolean |
isUpdate()
Gets the value of the update property.
|
void |
setAccess(String value)
Sets the value of the access property.
|
void |
setColumnAttribute(String value)
Sets the value of the columnAttribute property.
|
void |
setFormulaAttribute(String value)
Sets the value of the formulaAttribute property.
|
void |
setGenerated(GenerationTiming value)
Sets the value of the generated property.
|
void |
setIndex(String value)
Sets the value of the index property.
|
void |
setInsert(Boolean value)
Sets the value of the insert property.
|
void |
setLazy(Boolean value)
Sets the value of the lazy property.
|
void |
setLength(Integer value)
Sets the value of the length property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setNode(String value)
Sets the value of the node property.
|
void |
setNotNull(Boolean value)
Sets the value of the notNull property.
|
void |
setOptimisticLock(Boolean value)
Sets the value of the optimisticLock property.
|
void |
setPrecision(String value)
Sets the value of the precision property.
|
void |
setScale(String value)
Sets the value of the scale property.
|
void |
setType(JaxbHbmTypeSpecificationType value)
Sets the value of the type property.
|
void |
setTypeAttribute(String value)
Sets the value of the typeAttribute property.
|
void |
setUnique(Boolean value)
Sets the value of the unique property.
|
void |
setUniqueKey(String value)
Sets the value of the uniqueKey property.
|
void |
setUpdate(Boolean value)
Sets the value of the update property.
|
getToolingHintsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetToolingHintsprotected List<Serializable> columnOrFormula
protected JaxbHbmTypeSpecificationType type
protected String access
protected String columnAttribute
protected String formulaAttribute
protected GenerationTiming generated
protected String index
protected Boolean insert
protected Boolean lazy
protected Integer length
protected String name
protected String node
protected Boolean notNull
protected Boolean optimisticLock
protected String precision
protected String scale
protected String typeAttribute
protected Boolean unique
protected String uniqueKey
protected Boolean update
public List<Serializable> getColumnOrFormula()
Gets the value of the columnOrFormula property.
<p> This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a <CODE>set</CODE> method for the columnOrFormula property.
<p> For example, to add a new item, do as follows: <pre> getColumnOrFormula().add(newItem); </pre>
<p>
Objects of the following type(s) are allowed in the list
JaxbHbmColumnType
String
public JaxbHbmTypeSpecificationType getType()
Gets the value of the type property.
getType in interface SimpleValueTypeInfogetType in interface TypeContainerJaxbHbmTypeSpecificationTypepublic void setType(JaxbHbmTypeSpecificationType value)
Sets the value of the type property.
value - allowed object is
JaxbHbmTypeSpecificationTypepublic String getAccess()
Gets the value of the access property.
getAccess in interface AttributeMappingStringpublic void setAccess(String value)
Sets the value of the access property.
value - allowed object is
Stringpublic String getColumnAttribute()
Gets the value of the columnAttribute property.
Stringpublic void setColumnAttribute(String value)
Sets the value of the columnAttribute property.
value - allowed object is
Stringpublic String getFormulaAttribute()
Gets the value of the formulaAttribute property.
Stringpublic void setFormulaAttribute(String value)
Sets the value of the formulaAttribute property.
value - allowed object is
Stringpublic GenerationTiming getGenerated()
Gets the value of the generated property.
Stringpublic void setGenerated(GenerationTiming value)
Sets the value of the generated property.
value - allowed object is
Stringpublic String getIndex()
Gets the value of the index property.
Stringpublic void setIndex(String value)
Sets the value of the index property.
value - allowed object is
Stringpublic Boolean isInsert()
Gets the value of the insert property.
Booleanpublic void setInsert(Boolean value)
Sets the value of the insert property.
value - allowed object is
Booleanpublic boolean isLazy()
Gets the value of the lazy property.
Booleanpublic void setLazy(Boolean value)
Sets the value of the lazy property.
value - allowed object is
Booleanpublic Integer getLength()
Gets the value of the length property.
Integerpublic void setLength(Integer value)
Sets the value of the length property.
value - allowed object is
Integerpublic String getName()
Gets the value of the name property.
getName in interface AttributeMappingStringpublic void setName(String value)
Sets the value of the name property.
value - allowed object is
Stringpublic String getNode()
Gets the value of the node property.
Stringpublic void setNode(String value)
Sets the value of the node property.
value - allowed object is
Stringpublic Boolean isNotNull()
Gets the value of the notNull property.
Booleanpublic void setNotNull(Boolean value)
Sets the value of the notNull property.
value - allowed object is
Booleanpublic boolean isOptimisticLock()
Gets the value of the optimisticLock property.
Booleanpublic void setOptimisticLock(Boolean value)
Sets the value of the optimisticLock property.
value - allowed object is
Booleanpublic String getPrecision()
Gets the value of the precision property.
Stringpublic void setPrecision(String value)
Sets the value of the precision property.
value - allowed object is
Stringpublic String getScale()
Gets the value of the scale property.
Stringpublic void setScale(String value)
Sets the value of the scale property.
value - allowed object is
Stringpublic String getTypeAttribute()
Gets the value of the typeAttribute property.
getTypeAttribute in interface SimpleValueTypeInfogetTypeAttribute in interface TypeContainerStringpublic void setTypeAttribute(String value)
Sets the value of the typeAttribute property.
value - allowed object is
Stringpublic boolean isUnique()
Gets the value of the unique property.
Booleanpublic void setUnique(Boolean value)
Sets the value of the unique property.
value - allowed object is
Booleanpublic String getUniqueKey()
Gets the value of the uniqueKey property.
Stringpublic void setUniqueKey(String value)
Sets the value of the uniqueKey property.
value - allowed object is
Stringpublic Boolean isUpdate()
Gets the value of the update property.
BooleanCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.