org.riverock.dbrevision.annotation.schema.db
Class DbPrimaryKey

java.lang.Object
  extended by org.riverock.dbrevision.annotation.schema.db.DbPrimaryKey

public class DbPrimaryKey
extends Object

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

columns

protected List<DbPrimaryKeyColumn> columns

catalogName

protected String catalogName

pkName

protected String pkName

schemaName

protected String schemaName

tableName

protected String tableName
Constructor Detail

DbPrimaryKey

public DbPrimaryKey()
Method Detail

getColumns

public List<DbPrimaryKeyColumn> getColumns()
Gets the value of the columns 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 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


getCatalogName

public String getCatalogName()
Gets the value of the catalogName property.

Returns:
possible object is String

setCatalogName

public void setCatalogName(String value)
Sets the value of the catalogName property.

Parameters:
value - allowed object is String

getPkName

public String getPkName()
Gets the value of the pkName property.

Returns:
possible object is String

setPkName

public void setPkName(String value)
Sets the value of the pkName property.

Parameters:
value - allowed object is String

getSchemaName

public String getSchemaName()
Gets the value of the schemaName property.

Returns:
possible object is String

setSchemaName

public void setSchemaName(String value)
Sets the value of the schemaName property.

Parameters:
value - allowed object is String

getTableName

public String getTableName()
Gets the value of the tableName property.

Returns:
possible object is String

setTableName

public void setTableName(String value)
Sets the value of the tableName property.

Parameters:
value - allowed object is String


Copyright © 2008 Riverock community. All Rights Reserved.