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

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

public class DbIndex
extends Object

Java class for DbIndex complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="DbIndex">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Column" type="{http://dbrevision.sourceforge.net/xsd/dbrevision-structure.xsd}DbIndexColumn" maxOccurs="unbounded"/>
       </sequence>
       <attribute name="cardinality" type="{http://www.w3.org/2001/XMLSchema}int" />
       <attribute name="catalogName" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="filterCondition" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="indexName" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="indexQualifier" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="isNonUnique" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute name="pages" type="{http://www.w3.org/2001/XMLSchema}int" />
       <attribute name="schemaName" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="tableName" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}int" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  Integer cardinality
           
protected  String catalogName
           
protected  List<DbIndexColumn> columns
           
protected  String filterCondition
           
protected  String indexName
           
protected  String indexQualifier
           
protected  Boolean nonUnique
           
protected  Integer pages
           
protected  String schemaName
           
protected  String tableName
           
protected  Integer type
           
 
Constructor Summary
DbIndex()
           
 
Method Summary
 Integer getCardinality()
          Gets the value of the cardinality property.
 String getCatalogName()
          Gets the value of the catalogName property.
 List<DbIndexColumn> getColumns()
          Gets the value of the columns property.
 String getFilterCondition()
          Gets the value of the filterCondition property.
 String getIndexName()
          Gets the value of the indexName property.
 String getIndexQualifier()
          Gets the value of the indexQualifier property.
 Integer getPages()
          Gets the value of the pages property.
 String getSchemaName()
          Gets the value of the schemaName property.
 String getTableName()
          Gets the value of the tableName property.
 Integer getType()
          Gets the value of the type property.
 Boolean isNonUnique()
          Gets the value of the nonUnique property.
 void setCardinality(Integer value)
          Sets the value of the cardinality property.
 void setCatalogName(String value)
          Sets the value of the catalogName property.
 void setFilterCondition(String value)
          Sets the value of the filterCondition property.
 void setIndexName(String value)
          Sets the value of the indexName property.
 void setIndexQualifier(String value)
          Sets the value of the indexQualifier property.
 void setNonUnique(Boolean value)
          Sets the value of the nonUnique property.
 void setPages(Integer value)
          Sets the value of the pages property.
 void setSchemaName(String value)
          Sets the value of the schemaName property.
 void setTableName(String value)
          Sets the value of the tableName property.
 void setType(Integer value)
          Sets the value of the type property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

columns

protected List<DbIndexColumn> columns

cardinality

protected Integer cardinality

catalogName

protected String catalogName

filterCondition

protected String filterCondition

indexName

protected String indexName

indexQualifier

protected String indexQualifier

nonUnique

protected Boolean nonUnique

pages

protected Integer pages

schemaName

protected String schemaName

tableName

protected String tableName

type

protected Integer type
Constructor Detail

DbIndex

public DbIndex()
Method Detail

getColumns

public List<DbIndexColumn> 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 DbIndexColumn


getCardinality

public Integer getCardinality()
Gets the value of the cardinality property.

Returns:
possible object is Integer

setCardinality

public void setCardinality(Integer value)
Sets the value of the cardinality property.

Parameters:
value - allowed object is Integer

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

getFilterCondition

public String getFilterCondition()
Gets the value of the filterCondition property.

Returns:
possible object is String

setFilterCondition

public void setFilterCondition(String value)
Sets the value of the filterCondition property.

Parameters:
value - allowed object is String

getIndexName

public String getIndexName()
Gets the value of the indexName property.

Returns:
possible object is String

setIndexName

public void setIndexName(String value)
Sets the value of the indexName property.

Parameters:
value - allowed object is String

getIndexQualifier

public String getIndexQualifier()
Gets the value of the indexQualifier property.

Returns:
possible object is String

setIndexQualifier

public void setIndexQualifier(String value)
Sets the value of the indexQualifier property.

Parameters:
value - allowed object is String

isNonUnique

public Boolean isNonUnique()
Gets the value of the nonUnique property.

Returns:
possible object is Boolean

setNonUnique

public void setNonUnique(Boolean value)
Sets the value of the nonUnique property.

Parameters:
value - allowed object is Boolean

getPages

public Integer getPages()
Gets the value of the pages property.

Returns:
possible object is Integer

setPages

public void setPages(Integer value)
Sets the value of the pages property.

Parameters:
value - allowed object is Integer

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

getType

public Integer getType()
Gets the value of the type property.

Returns:
possible object is Integer

setType

public void setType(Integer value)
Sets the value of the type property.

Parameters:
value - allowed object is Integer


Copyright © 2008 Riverock community. All Rights Reserved.