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()
<p>Java class for SimpleIdType complex type.
<p>The following schema fragment specifies the expected content contained within this class.
<pre> <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> </pre>
| Modifier and Type | Field and Description |
|---|---|
protected String |
access |
protected List<JaxbHbmColumnType> |
column |
protected String |
columnAttribute |
protected JaxbHbmGeneratorSpecificationType |
generator |
protected Integer |
length |
protected String |
name |
protected String |
node |
protected JaxbHbmTypeSpecificationType |
type |
protected String |
typeAttribute |
protected String |
unsavedValue |
toolingHints| Constructor and Description |
|---|
JaxbHbmSimpleIdType() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAccess()
Gets the value of the access property.
|
List<JaxbHbmColumnType> |
getColumn()
Gets the value of the column property.
|
String |
getColumnAttribute()
Gets the value of the columnAttribute property.
|
JaxbHbmGeneratorSpecificationType |
getGenerator()
Gets the value of the generator 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.
|
JaxbHbmTypeSpecificationType |
getType()
Gets the value of the type property.
|
String |
getTypeAttribute()
Gets the value of the typeAttribute property.
|
String |
getUnsavedValue()
Gets the value of the unsavedValue property.
|
void |
setAccess(String value)
Sets the value of the access property.
|
void |
setColumnAttribute(String value)
Sets the value of the columnAttribute property.
|
void |
setGenerator(JaxbHbmGeneratorSpecificationType value)
Sets the value of the generator 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 |
setType(JaxbHbmTypeSpecificationType value)
Sets the value of the type property.
|
void |
setTypeAttribute(String value)
Sets the value of the typeAttribute property.
|
void |
setUnsavedValue(String value)
Sets the value of the unsavedValue property.
|
getToolingHintsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetToolingHintsprotected List<JaxbHbmColumnType> column
protected JaxbHbmTypeSpecificationType type
protected JaxbHbmGeneratorSpecificationType generator
protected String access
protected String columnAttribute
protected Integer length
protected String name
protected String node
protected String typeAttribute
protected String unsavedValue
public List<JaxbHbmColumnType> getColumn()
Gets the value of the column 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 column property.
<p> For example, to add a new item, do as follows: <pre> getColumn().add(newItem); </pre>
<p>
Objects of the following type(s) are allowed in the list
JaxbHbmColumnType
public JaxbHbmTypeSpecificationType getType()
Gets the value of the type property.
getType in interface TypeContainerJaxbHbmTypeSpecificationTypepublic void setType(JaxbHbmTypeSpecificationType value)
Sets the value of the type property.
value - allowed object is
JaxbHbmTypeSpecificationTypepublic JaxbHbmGeneratorSpecificationType getGenerator()
Gets the value of the generator property.
JaxbHbmGeneratorSpecificationTypepublic void setGenerator(JaxbHbmGeneratorSpecificationType value)
Sets the value of the generator property.
value - allowed object is
JaxbHbmGeneratorSpecificationTypepublic 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 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 String getTypeAttribute()
Gets the value of the typeAttribute property.
getTypeAttribute in interface TypeContainerStringpublic void setTypeAttribute(String value)
Sets the value of the typeAttribute property.
value - allowed object is
Stringpublic String getUnsavedValue()
Gets the value of the unsavedValue property.
StringCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.