类 JaxbHbmSimpleIdType
- java.lang.Object
-
- org.hibernate.boot.jaxb.hbm.spi.JaxbHbmToolingHintContainer
-
- org.hibernate.boot.jaxb.hbm.spi.JaxbHbmSimpleIdType
-
- 所有已实现的接口:
Serializable,AttributeMapping,SingularAttributeInfo,ToolingHintContainer,TypeContainer
public class JaxbHbmSimpleIdType extends JaxbHbmToolingHintContainer implements Serializable, SingularAttributeInfo, ToolingHintContainer, TypeContainer
Declares the id type, column and generation algorithm for an entity class. If a name attribute is given, the id is exposed to the application through the named property of the class. If not, the id is only exposed to the application via Session.getIdentifier()Java class for SimpleIdType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SimpleIdType"> <complexContent> <extension base="{http://www.hibernate.org/xsd/orm/hbm}ToolingHintContainer"> <sequence> <element name="column" type="{http://www.hibernate.org/xsd/orm/hbm}ColumnType" maxOccurs="unbounded" minOccurs="0"/> <element name="type" type="{http://www.hibernate.org/xsd/orm/hbm}TypeSpecificationType" minOccurs="0"/> <element name="generator" type="{http://www.hibernate.org/xsd/orm/hbm}GeneratorSpecificationType" 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="length" type="{http://www.w3.org/2001/XMLSchema}int" /> <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="node" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="unsaved-value" type="{http://www.w3.org/2001/XMLSchema}string" /> </extension> </complexContent> </complexType>- 另请参阅:
- 序列化表格
-
-
字段概要
字段 修饰符和类型 字段 说明 protected Stringaccessprotected List<JaxbHbmColumnType>columnprotected StringcolumnAttributeprotected JaxbHbmGeneratorSpecificationTypegeneratorprotected Integerlengthprotected Stringnameprotected Stringnodeprotected JaxbHbmTypeSpecificationTypetypeprotected StringtypeAttributeprotected StringunsavedValue-
从类继承的字段 org.hibernate.boot.jaxb.hbm.spi.JaxbHbmToolingHintContainer
toolingHints
-
-
构造器概要
构造器 构造器 说明 JaxbHbmSimpleIdType()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetAccess()Gets the value of the access property.List<JaxbHbmColumnType>getColumn()Gets the value of the column property.StringgetColumnAttribute()Gets the value of the columnAttribute property.JaxbHbmGeneratorSpecificationTypegetGenerator()Gets the value of the generator 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.JaxbHbmTypeSpecificationTypegetType()Gets the value of the type property.StringgetTypeAttribute()Gets the value of the typeAttribute property.StringgetUnsavedValue()Gets the value of the unsavedValue property.voidsetAccess(String value)Sets the value of the access property.voidsetColumnAttribute(String value)Sets the value of the columnAttribute property.voidsetGenerator(JaxbHbmGeneratorSpecificationType value)Sets the value of the generator 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.voidsetType(JaxbHbmTypeSpecificationType value)Sets the value of the type property.voidsetTypeAttribute(String value)Sets the value of the typeAttribute property.voidsetUnsavedValue(String value)Sets the value of the unsavedValue 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
-
-
-
-
字段详细资料
-
column
protected List<JaxbHbmColumnType> column
-
type
protected JaxbHbmTypeSpecificationType type
-
generator
protected JaxbHbmGeneratorSpecificationType generator
-
access
protected String access
-
columnAttribute
protected String columnAttribute
-
length
protected Integer length
-
name
protected String name
-
node
protected String node
-
typeAttribute
protected String typeAttribute
-
unsavedValue
protected String unsavedValue
-
-
方法详细资料
-
getColumn
public List<JaxbHbmColumnType> getColumn()
Gets the value of the column 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 column property.For example, to add a new item, do as follows:
getColumn().add(newItem);Objects of the following type(s) are allowed in the list
JaxbHbmColumnType
-
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
-
getGenerator
public JaxbHbmGeneratorSpecificationType getGenerator()
Gets the value of the generator property.- 返回:
- possible object is
JaxbHbmGeneratorSpecificationType
-
setGenerator
public void setGenerator(JaxbHbmGeneratorSpecificationType value)
Sets the value of the generator property.- 参数:
value- allowed object isJaxbHbmGeneratorSpecificationType
-
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
-
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
-
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
-
getUnsavedValue
public String getUnsavedValue()
Gets the value of the unsavedValue property.- 返回:
- possible object is
String
-
-