|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.riverock.dbrevision.annotation.schema.db.DbPrimaryKey
public class DbPrimaryKey
Java class for DbPrimaryKey complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DbPrimaryKey">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="Column" type="{http://dbrevision.sourceforge.net/xsd/dbrevision-structure.xsd}DbPrimaryKeyColumn" maxOccurs="unbounded"/>
</sequence>
<attribute name="catalogName" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="pkName" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="schemaName" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="tableName" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected String |
catalogName
|
protected List<DbPrimaryKeyColumn> |
columns
|
protected String |
pkName
|
protected String |
schemaName
|
protected String |
tableName
|
| Constructor Summary | |
|---|---|
DbPrimaryKey()
|
|
| Method Summary | |
|---|---|
String |
getCatalogName()
Gets the value of the catalogName property. |
List<DbPrimaryKeyColumn> |
getColumns()
Gets the value of the columns property. |
String |
getPkName()
Gets the value of the pkName property. |
String |
getSchemaName()
Gets the value of the schemaName property. |
String |
getTableName()
Gets the value of the tableName property. |
void |
setCatalogName(String value)
Sets the value of the catalogName property. |
void |
setPkName(String value)
Sets the value of the pkName property. |
void |
setSchemaName(String value)
Sets the value of the schemaName property. |
void |
setTableName(String value)
Sets the value of the tableName property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected List<DbPrimaryKeyColumn> columns
protected String catalogName
protected String pkName
protected String schemaName
protected String tableName
| Constructor Detail |
|---|
public DbPrimaryKey()
| Method Detail |
|---|
public List<DbPrimaryKeyColumn> getColumns()
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 columns property.
For example, to add a new item, do as follows:
getColumns().add(newItem);
Objects of the following type(s) are allowed in the list
DbPrimaryKeyColumn
public String getCatalogName()
Stringpublic void setCatalogName(String value)
value - allowed object is
Stringpublic String getPkName()
Stringpublic void setPkName(String value)
value - allowed object is
Stringpublic String getSchemaName()
Stringpublic void setSchemaName(String value)
value - allowed object is
Stringpublic String getTableName()
Stringpublic void setTableName(String value)
value - allowed object is
String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||