类 JaxbHbmBasicAttributeType
- java.lang.Object
-
- org.hibernate.boot.jaxb.hbm.spi.JaxbHbmToolingHintContainer
-
- org.hibernate.boot.jaxb.hbm.spi.JaxbHbmBasicAttributeType
-
- 所有已实现的接口:
Serializable,AttributeMapping,SimpleValueTypeInfo,SingularAttributeInfo,ToolingHintContainer,TypeContainer
public class JaxbHbmBasicAttributeType extends JaxbHbmToolingHintContainer implements Serializable, SimpleValueTypeInfo, SingularAttributeInfo, ToolingHintContainer, TypeContainer
Java class for BasicAttributeType complex type.
The following schema fragment specifies the expected content contained within this class.
<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>- 另请参阅:
- 序列化表格
-
-
字段概要
字段 修饰符和类型 字段 说明 protected Stringaccessprotected StringcolumnAttributeprotected List<Serializable>columnOrFormulaprotected StringformulaAttributeprotected GenerationTiminggeneratedprotected Stringindexprotected Booleaninsertprotected Booleanlazyprotected Integerlengthprotected Stringnameprotected Stringnodeprotected BooleannotNullprotected BooleanoptimisticLockprotected Stringprecisionprotected Stringscaleprotected JaxbHbmTypeSpecificationTypetypeprotected StringtypeAttributeprotected Booleanuniqueprotected StringuniqueKeyprotected Booleanupdate-
从类继承的字段 org.hibernate.boot.jaxb.hbm.spi.JaxbHbmToolingHintContainer
toolingHints
-
-
构造器概要
构造器 构造器 说明 JaxbHbmBasicAttributeType()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetAccess()Gets the value of the access property.StringgetColumnAttribute()Gets the value of the columnAttribute property.List<Serializable>getColumnOrFormula()Gets the value of the columnOrFormula property.StringgetFormulaAttribute()Gets the value of the formulaAttribute property.GenerationTiminggetGenerated()Gets the value of the generated property.StringgetIndex()Gets the value of the index property.IntegergetLength()Gets the value of the length property.StringgetName()Gets the value of the name property.StringgetNode()Gets the value of the node property.StringgetPrecision()Gets the value of the precision property.StringgetScale()Gets the value of the scale property.JaxbHbmTypeSpecificationTypegetType()Gets the value of the type property.StringgetTypeAttribute()Gets the value of the typeAttribute property.StringgetUniqueKey()Gets the value of the uniqueKey property.BooleanisInsert()Gets the value of the insert property.booleanisLazy()Gets the value of the lazy property.BooleanisNotNull()Gets the value of the notNull property.booleanisOptimisticLock()Gets the value of the optimisticLock property.booleanisUnique()Gets the value of the unique property.BooleanisUpdate()Gets the value of the update property.voidsetAccess(String value)Sets the value of the access property.voidsetColumnAttribute(String value)Sets the value of the columnAttribute property.voidsetFormulaAttribute(String value)Sets the value of the formulaAttribute property.voidsetGenerated(GenerationTiming value)Sets the value of the generated property.voidsetIndex(String value)Sets the value of the index property.voidsetInsert(Boolean value)Sets the value of the insert property.voidsetLazy(Boolean value)Sets the value of the lazy property.voidsetLength(Integer value)Sets the value of the length property.voidsetName(String value)Sets the value of the name property.voidsetNode(String value)Sets the value of the node property.voidsetNotNull(Boolean value)Sets the value of the notNull property.voidsetOptimisticLock(Boolean value)Sets the value of the optimisticLock property.voidsetPrecision(String value)Sets the value of the precision property.voidsetScale(String value)Sets the value of the scale property.voidsetType(JaxbHbmTypeSpecificationType value)Sets the value of the type property.voidsetTypeAttribute(String value)Sets the value of the typeAttribute property.voidsetUnique(Boolean value)Sets the value of the unique property.voidsetUniqueKey(String value)Sets the value of the uniqueKey property.voidsetUpdate(Boolean value)Sets the value of the update property.-
从类继承的方法 org.hibernate.boot.jaxb.hbm.spi.JaxbHbmToolingHintContainer
getToolingHints
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 org.hibernate.boot.jaxb.hbm.spi.ToolingHintContainer
getToolingHints
-
-
-
-
字段详细资料
-
columnOrFormula
protected List<Serializable> columnOrFormula
-
type
protected JaxbHbmTypeSpecificationType type
-
access
protected String access
-
columnAttribute
protected String columnAttribute
-
formulaAttribute
protected String formulaAttribute
-
generated
protected GenerationTiming generated
-
index
protected String index
-
insert
protected Boolean insert
-
lazy
protected Boolean lazy
-
length
protected Integer length
-
name
protected String name
-
node
protected String node
-
notNull
protected Boolean notNull
-
optimisticLock
protected Boolean optimisticLock
-
precision
protected String precision
-
scale
protected String scale
-
typeAttribute
protected String typeAttribute
-
unique
protected Boolean unique
-
uniqueKey
protected String uniqueKey
-
update
protected Boolean update
-
-
方法详细资料
-
getColumnOrFormula
public List<Serializable> getColumnOrFormula()
Gets the value of the columnOrFormula property.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
setmethod for the columnOrFormula property.For example, to add a new item, do as follows:
getColumnOrFormula().add(newItem);Objects of the following type(s) are allowed in the list
JaxbHbmColumnTypeString
-
getType
public JaxbHbmTypeSpecificationType getType()
Gets the value of the type property.- 指定者:
getType在接口中SimpleValueTypeInfo- 指定者:
getType在接口中TypeContainer- 返回:
- possible object is
JaxbHbmTypeSpecificationType
-
setType
public void setType(JaxbHbmTypeSpecificationType value)
Sets the value of the type property.- 参数:
value- allowed object isJaxbHbmTypeSpecificationType
-
getAccess
public String getAccess()
Gets the value of the access property.- 指定者:
getAccess在接口中AttributeMapping- 返回:
- possible object is
String
-
setAccess
public void setAccess(String value)
Sets the value of the access property.- 参数:
value- allowed object isString
-
getColumnAttribute
public String getColumnAttribute()
Gets the value of the columnAttribute property.- 返回:
- possible object is
String
-
setColumnAttribute
public void setColumnAttribute(String value)
Sets the value of the columnAttribute property.- 参数:
value- allowed object isString
-
getFormulaAttribute
public String getFormulaAttribute()
Gets the value of the formulaAttribute property.- 返回:
- possible object is
String
-
setFormulaAttribute
public void setFormulaAttribute(String value)
Sets the value of the formulaAttribute property.- 参数:
value- allowed object isString
-
getGenerated
public GenerationTiming getGenerated()
Gets the value of the generated property.- 返回:
- possible object is
String
-
setGenerated
public void setGenerated(GenerationTiming value)
Sets the value of the generated property.- 参数:
value- allowed object isString
-
getIndex
public String getIndex()
Gets the value of the index property.- 返回:
- possible object is
String
-
setIndex
public void setIndex(String value)
Sets the value of the index property.- 参数:
value- allowed object isString
-
isInsert
public Boolean isInsert()
Gets the value of the insert property.- 返回:
- possible object is
Boolean
-
setInsert
public void setInsert(Boolean value)
Sets the value of the insert property.- 参数:
value- allowed object isBoolean
-
isLazy
public boolean isLazy()
Gets the value of the lazy property.- 返回:
- possible object is
Boolean
-
setLazy
public void setLazy(Boolean value)
Sets the value of the lazy property.- 参数:
value- allowed object isBoolean
-
getLength
public Integer getLength()
Gets the value of the length property.- 返回:
- possible object is
Integer
-
setLength
public void setLength(Integer value)
Sets the value of the length property.- 参数:
value- allowed object isInteger
-
getName
public String getName()
Gets the value of the name property.- 指定者:
getName在接口中AttributeMapping- 返回:
- possible object is
String
-
setName
public void setName(String value)
Sets the value of the name property.- 参数:
value- allowed object isString
-
setNode
public void setNode(String value)
Sets the value of the node property.- 参数:
value- allowed object isString
-
isNotNull
public Boolean isNotNull()
Gets the value of the notNull property.- 返回:
- possible object is
Boolean
-
setNotNull
public void setNotNull(Boolean value)
Sets the value of the notNull property.- 参数:
value- allowed object isBoolean
-
isOptimisticLock
public boolean isOptimisticLock()
Gets the value of the optimisticLock property.- 返回:
- possible object is
Boolean
-
setOptimisticLock
public void setOptimisticLock(Boolean value)
Sets the value of the optimisticLock property.- 参数:
value- allowed object isBoolean
-
getPrecision
public String getPrecision()
Gets the value of the precision property.- 返回:
- possible object is
String
-
setPrecision
public void setPrecision(String value)
Sets the value of the precision property.- 参数:
value- allowed object isString
-
getScale
public String getScale()
Gets the value of the scale property.- 返回:
- possible object is
String
-
setScale
public void setScale(String value)
Sets the value of the scale property.- 参数:
value- allowed object isString
-
getTypeAttribute
public String getTypeAttribute()
Gets the value of the typeAttribute property.- 指定者:
getTypeAttribute在接口中SimpleValueTypeInfo- 指定者:
getTypeAttribute在接口中TypeContainer- 返回:
- possible object is
String
-
setTypeAttribute
public void setTypeAttribute(String value)
Sets the value of the typeAttribute property.- 参数:
value- allowed object isString
-
isUnique
public boolean isUnique()
Gets the value of the unique property.- 返回:
- possible object is
Boolean
-
setUnique
public void setUnique(Boolean value)
Sets the value of the unique property.- 参数:
value- allowed object isBoolean
-
getUniqueKey
public String getUniqueKey()
Gets the value of the uniqueKey property.- 返回:
- possible object is
String
-
setUniqueKey
public void setUniqueKey(String value)
Sets the value of the uniqueKey property.- 参数:
value- allowed object isString
-
isUpdate
public Boolean isUpdate()
Gets the value of the update property.- 返回:
- possible object is
Boolean
-
-