public class SecondaryTable
extends java.lang.Object
Java class for secondary-table complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="secondary-table"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="primary-key-join-column" type="{http://java.sun.com/xml/ns/persistence/orm}primary-key-join-column" maxOccurs="unbounded" minOccurs="0"/> <element name="unique-constraint" type="{http://java.sun.com/xml/ns/persistence/orm}unique-constraint" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="catalog" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="schema" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
catalog |
protected java.lang.String |
name |
protected java.util.List<PrimaryKeyJoinColumn> |
primaryKeyJoinColumn |
protected java.lang.String |
schema |
protected java.util.List<UniqueConstraint> |
uniqueConstraint |
Constructor and Description |
---|
SecondaryTable() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCatalog()
Gets the value of the catalog property.
|
java.lang.String |
getName()
Gets the value of the name property.
|
java.util.List<PrimaryKeyJoinColumn> |
getPrimaryKeyJoinColumn()
Gets the value of the primaryKeyJoinColumn property.
|
java.lang.String |
getSchema()
Gets the value of the schema property.
|
java.util.List<UniqueConstraint> |
getUniqueConstraint()
Gets the value of the uniqueConstraint property.
|
void |
setCatalog(java.lang.String value)
Sets the value of the catalog property.
|
void |
setName(java.lang.String value)
Sets the value of the name property.
|
void |
setSchema(java.lang.String value)
Sets the value of the schema property.
|
protected java.util.List<PrimaryKeyJoinColumn> primaryKeyJoinColumn
protected java.util.List<UniqueConstraint> uniqueConstraint
protected java.lang.String catalog
protected java.lang.String name
protected java.lang.String schema
public java.util.List<PrimaryKeyJoinColumn> getPrimaryKeyJoinColumn()
set
method for the primaryKeyJoinColumn property.
For example, to add a new item, do as follows:
getPrimaryKeyJoinColumn().add(newItem);Objects of the following type(s) are allowed in the list
PrimaryKeyJoinColumn
public java.util.List<UniqueConstraint> getUniqueConstraint()
set
method for the uniqueConstraint property.
For example, to add a new item, do as follows:
getUniqueConstraint().add(newItem);Objects of the following type(s) are allowed in the list
UniqueConstraint
public java.lang.String getCatalog()
String
public void setCatalog(java.lang.String value)
value
- allowed object is
String
public java.lang.String getName()
String
public void setName(java.lang.String value)
value
- allowed object is
String
public java.lang.String getSchema()
String
public void setSchema(java.lang.String value)
value
- allowed object is
String