类 JaxbHbmBasicCollectionElementType
- java.lang.Object
-
- org.hibernate.boot.jaxb.hbm.spi.JaxbHbmBasicCollectionElementType
-
- 所有已实现的接口:
Serializable,TypeContainer
public class JaxbHbmBasicCollectionElementType extends Object implements Serializable, TypeContainer
Declares the element type of a collection where the element is of basic typeJava class for BasicCollectionElementType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="BasicCollectionElementType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <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="column" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="formula" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="length" type="{http://www.w3.org/2001/XMLSchema}int" /> <attribute name="node" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="not-null" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> <attribute name="precision" type="{http://www.w3.org/2001/XMLSchema}int" /> <attribute name="scale" type="{http://www.w3.org/2001/XMLSchema}int" /> <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="unique" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> </restriction> </complexContent> </complexType>- 另请参阅:
- 序列化表格
-
-
字段概要
字段 修饰符和类型 字段 说明 protected StringcolumnAttributeprotected List<Serializable>columnOrFormulaprotected StringformulaAttributeprotected Integerlengthprotected Stringnodeprotected BooleannotNullprotected Integerprecisionprotected Integerscaleprotected JaxbHbmTypeSpecificationTypetypeprotected StringtypeAttributeprotected Booleanunique
-
构造器概要
构造器 构造器 说明 JaxbHbmBasicCollectionElementType()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 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.IntegergetLength()Gets the value of the length property.StringgetNode()Gets the value of the node property.IntegergetPrecision()Gets the value of the precision property.IntegergetScale()Gets the value of the scale property.JaxbHbmTypeSpecificationTypegetType()Gets the value of the type property.StringgetTypeAttribute()Gets the value of the typeAttribute property.booleanisNotNull()Gets the value of the notNull property.booleanisUnique()Gets the value of the unique property.voidsetColumnAttribute(String value)Sets the value of the columnAttribute property.voidsetFormulaAttribute(String value)Sets the value of the formulaAttribute property.voidsetLength(Integer value)Sets the value of the length property.voidsetNode(String value)Sets the value of the node property.voidsetNotNull(Boolean value)Sets the value of the notNull property.voidsetPrecision(Integer value)Sets the value of the precision property.voidsetScale(Integer 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.
-
-
-
字段详细资料
-
columnOrFormula
protected List<Serializable> columnOrFormula
-
type
protected JaxbHbmTypeSpecificationType type
-
columnAttribute
protected String columnAttribute
-
formulaAttribute
protected String formulaAttribute
-
length
protected Integer length
-
node
protected String node
-
notNull
protected Boolean notNull
-
precision
protected Integer precision
-
scale
protected Integer scale
-
typeAttribute
protected String typeAttribute
-
unique
protected Boolean unique
-
-
方法详细资料
-
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在接口中TypeContainer- 返回:
- possible object is
JaxbHbmTypeSpecificationType
-
setType
public void setType(JaxbHbmTypeSpecificationType value)
Sets the value of the type property.- 参数:
value- allowed object isJaxbHbmTypeSpecificationType
-
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
-
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
-
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
-
getPrecision
public Integer getPrecision()
Gets the value of the precision property.- 返回:
- possible object is
Integer
-
setPrecision
public void setPrecision(Integer value)
Sets the value of the precision property.- 参数:
value- allowed object isInteger
-
getScale
public Integer getScale()
Gets the value of the scale property.- 返回:
- possible object is
Integer
-
setScale
public void setScale(Integer value)
Sets the value of the scale property.- 参数:
value- allowed object isInteger
-
getTypeAttribute
public String getTypeAttribute()
Gets the value of the typeAttribute property.- 指定者:
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
-
-