public class JaxbManyToOneElement extends Object
Java class for many-to-one-element complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="many-to-one-element"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="meta" type="{http://www.hibernate.org/xsd/hibernate-mapping}meta-element" maxOccurs="unbounded" minOccurs="0"/> <choice maxOccurs="unbounded" minOccurs="0"> <element name="column" type="{http://www.hibernate.org/xsd/hibernate-mapping}column-element"/> <element name="formula" type="{http://www.w3.org/2001/XMLSchema}string"/> </choice> </sequence> <attribute name="access" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="cascade" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="class" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="column" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="embed-xml" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> <attribute name="entity-name" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="fetch" type="{http://www.hibernate.org/xsd/hibernate-mapping}fetch-attribute" /> <attribute name="foreign-key" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="formula" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="index" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="insert" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> <attribute name="lazy" type="{http://www.hibernate.org/xsd/hibernate-mapping}lazy-attribute-with-no-proxy" /> <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-found" type="{http://www.hibernate.org/xsd/hibernate-mapping}not-found-attribute" default="exception" /> <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="outer-join" type="{http://www.hibernate.org/xsd/hibernate-mapping}outer-join-attribute" /> <attribute name="property-ref" 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" default="true" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected String |
access |
protected String |
cascade |
protected String |
clazz |
protected String |
column |
protected List<Object> |
columnOrFormula |
protected Boolean |
embedXml |
protected String |
entityName |
protected JaxbFetchAttribute |
fetch |
protected String |
foreignKey |
protected String |
formula |
protected String |
index |
protected Boolean |
insert |
protected JaxbLazyAttributeWithNoProxy |
lazy |
protected List<JaxbMetaElement> |
meta |
protected String |
name |
protected String |
node |
protected JaxbNotFoundAttribute |
notFound |
protected Boolean |
notNull |
protected Boolean |
optimisticLock |
protected JaxbOuterJoinAttribute |
outerJoin |
protected String |
propertyRef |
protected Boolean |
unique |
protected String |
uniqueKey |
protected Boolean |
update |
Constructor and Description |
---|
JaxbManyToOneElement() |
Modifier and Type | Method and Description |
---|---|
String |
getAccess()
Gets the value of the access property.
|
String |
getCascade()
Gets the value of the cascade property.
|
String |
getClazz()
Gets the value of the clazz property.
|
String |
getColumn()
Gets the value of the column property.
|
List<Object> |
getColumnOrFormula()
Gets the value of the columnOrFormula property.
|
String |
getEntityName()
Gets the value of the entityName property.
|
JaxbFetchAttribute |
getFetch()
Gets the value of the fetch property.
|
String |
getForeignKey()
Gets the value of the foreignKey property.
|
String |
getFormula()
Gets the value of the formula property.
|
String |
getIndex()
Gets the value of the index property.
|
JaxbLazyAttributeWithNoProxy |
getLazy()
Gets the value of the lazy property.
|
List<JaxbMetaElement> |
getMeta()
Gets the value of the meta property.
|
String |
getName()
Gets the value of the name property.
|
String |
getNode()
Gets the value of the node property.
|
JaxbNotFoundAttribute |
getNotFound()
Gets the value of the notFound property.
|
JaxbOuterJoinAttribute |
getOuterJoin()
Gets the value of the outerJoin property.
|
String |
getPropertyRef()
Gets the value of the propertyRef property.
|
String |
getUniqueKey()
Gets the value of the uniqueKey property.
|
boolean |
isEmbedXml()
Gets the value of the embedXml property.
|
boolean |
isInsert()
Gets the value of the insert 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 |
setCascade(String value)
Sets the value of the cascade property.
|
void |
setClazz(String value)
Sets the value of the clazz property.
|
void |
setColumn(String value)
Sets the value of the column property.
|
void |
setEmbedXml(Boolean value)
Sets the value of the embedXml property.
|
void |
setEntityName(String value)
Sets the value of the entityName property.
|
void |
setFetch(JaxbFetchAttribute value)
Sets the value of the fetch property.
|
void |
setForeignKey(String value)
Sets the value of the foreignKey property.
|
void |
setFormula(String value)
Sets the value of the formula 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(JaxbLazyAttributeWithNoProxy value)
Sets the value of the lazy property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setNode(String value)
Sets the value of the node property.
|
void |
setNotFound(JaxbNotFoundAttribute value)
Sets the value of the notFound property.
|
void |
setNotNull(Boolean value)
Sets the value of the notNull property.
|
void |
setOptimisticLock(Boolean value)
Sets the value of the optimisticLock property.
|
void |
setOuterJoin(JaxbOuterJoinAttribute value)
Sets the value of the outerJoin property.
|
void |
setPropertyRef(String value)
Sets the value of the propertyRef 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.
|
protected List<JaxbMetaElement> meta
protected String access
protected String cascade
protected String clazz
protected String column
protected Boolean embedXml
protected String entityName
protected JaxbFetchAttribute fetch
protected String foreignKey
protected String formula
protected String index
protected Boolean insert
protected JaxbLazyAttributeWithNoProxy lazy
protected String name
protected String node
protected JaxbNotFoundAttribute notFound
protected Boolean notNull
protected Boolean optimisticLock
protected JaxbOuterJoinAttribute outerJoin
protected String propertyRef
protected Boolean unique
protected String uniqueKey
protected Boolean update
public List<JaxbMetaElement> getMeta()
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 set
method for the meta property.
For example, to add a new item, do as follows:
getMeta().add(newItem);
Objects of the following type(s) are allowed in the list
JaxbMetaElement
public List<Object> getColumnOrFormula()
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 set
method 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
String
JaxbColumnElement
public String getAccess()
String
public void setAccess(String value)
value
- allowed object is
String
public String getCascade()
String
public void setCascade(String value)
value
- allowed object is
String
public String getClazz()
String
public void setClazz(String value)
value
- allowed object is
String
public String getColumn()
String
public void setColumn(String value)
value
- allowed object is
String
public boolean isEmbedXml()
Boolean
public void setEmbedXml(Boolean value)
value
- allowed object is
Boolean
public String getEntityName()
String
public void setEntityName(String value)
value
- allowed object is
String
public JaxbFetchAttribute getFetch()
JaxbFetchAttribute
public void setFetch(JaxbFetchAttribute value)
value
- allowed object is
JaxbFetchAttribute
public String getForeignKey()
String
public void setForeignKey(String value)
value
- allowed object is
String
public String getFormula()
String
public void setFormula(String value)
value
- allowed object is
String
public String getIndex()
String
public void setIndex(String value)
value
- allowed object is
String
public boolean isInsert()
Boolean
public void setInsert(Boolean value)
value
- allowed object is
Boolean
public JaxbLazyAttributeWithNoProxy getLazy()
JaxbLazyAttributeWithNoProxy
public void setLazy(JaxbLazyAttributeWithNoProxy value)
value
- allowed object is
JaxbLazyAttributeWithNoProxy
public String getName()
String
public void setName(String value)
value
- allowed object is
String
public String getNode()
String
public void setNode(String value)
value
- allowed object is
String
public JaxbNotFoundAttribute getNotFound()
JaxbNotFoundAttribute
public void setNotFound(JaxbNotFoundAttribute value)
value
- allowed object is
JaxbNotFoundAttribute
public Boolean isNotNull()
Boolean
public void setNotNull(Boolean value)
value
- allowed object is
Boolean
public boolean isOptimisticLock()
Boolean
public void setOptimisticLock(Boolean value)
value
- allowed object is
Boolean
public JaxbOuterJoinAttribute getOuterJoin()
JaxbOuterJoinAttribute
public void setOuterJoin(JaxbOuterJoinAttribute value)
value
- allowed object is
JaxbOuterJoinAttribute
public String getPropertyRef()
String
public void setPropertyRef(String value)
value
- allowed object is
String
public boolean isUnique()
Boolean
public void setUnique(Boolean value)
value
- allowed object is
Boolean
public String getUniqueKey()
String
public void setUniqueKey(String value)
value
- allowed object is
String
public boolean isUpdate()
Boolean
Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.