org.eclipse.wst.rdb.internal.models.sql.constraints
Interface Index

All Superinterfaces:
commonj.sdo.DataObject, org.eclipse.emf.ecore.sdo.EDataObject, org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.ENamedElement, org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier, java.io.Serializable, SQLObject
All Known Implementing Classes:
IndexImpl

public interface Index
extends SQLObject

A representation of the model object 'Index'.

The following features are supported:

See Also:
SQLConstraintsPackage.getIndex()

Method Summary
 int getFillFactor()
          Returns the value of the 'Fill Factor' attribute.
 org.eclipse.emf.common.util.EList getForeignKey()
          Returns the value of the 'Foreign Key' reference list.
 org.eclipse.emf.common.util.EList getIncludedMembers()
          Returns the value of the 'Included Members' containment reference list.
 org.eclipse.emf.common.util.EList getMembers()
          Returns the value of the 'Members' containment reference list.
 Schema getSchema()
          Returns the value of the 'Schema' reference.
 Table getTable()
          Returns the value of the 'Table' reference.
 boolean isClustered()
          Returns the value of the 'Clustered' attribute.
 boolean isSystemGenerated()
          Returns the value of the 'System Generated' attribute.
 boolean isUnique()
          Returns the value of the 'Unique' attribute.
 void setClustered(boolean value)
          Sets the value of the 'Clustered' attribute.
 void setFillFactor(int value)
          Sets the value of the 'Fill Factor' attribute.
 void setSchema(Schema value)
          Sets the value of the 'Schema' reference.
 void setSystemGenerated(boolean value)
          Sets the value of the 'System Generated' attribute.
 void setTable(Table value)
          Sets the value of the 'Table' reference.
 void setUnique(boolean value)
          Sets the value of the 'Unique' attribute.
 
Methods inherited from interface org.eclipse.wst.rdb.internal.models.sql.schema.SQLObject
addEAnnotation, addEAnnotationDetail, getComments, getDependencies, getDescription, getEAnnotation, getEAnnotationDetail, getLabel, getPrivileges, removeEAnnotationDetail, setAnnotationDetail, setDescription, setLabel
 
Methods inherited from interface org.eclipse.emf.ecore.sdo.EDataObject
getInstanceProperties
 
Methods inherited from interface commonj.sdo.DataObject
createDataObject, createDataObject, createDataObject, createDataObject, createDataObject, createDataObject, delete, get, get, get, getBigDecimal, getBigDecimal, getBigDecimal, getBigInteger, getBigInteger, getBigInteger, getBoolean, getBoolean, getBoolean, getByte, getByte, getByte, getBytes, getBytes, getBytes, getChar, getChar, getChar, getContainer, getContainmentProperty, getDataGraph, getDataObject, getDataObject, getDataObject, getDate, getDate, getDate, getDouble, getDouble, getDouble, getFloat, getFloat, getFloat, getInt, getInt, getInt, getList, getList, getList, getLong, getLong, getLong, getSequence, getSequence, getSequence, getShort, getShort, getShort, getString, getString, getString, getType, isSet, isSet, isSet, set, set, set, setBigDecimal, setBigDecimal, setBigDecimal, setBigInteger, setBigInteger, setBigInteger, setBoolean, setBoolean, setBoolean, setByte, setByte, setByte, setBytes, setBytes, setBytes, setChar, setChar, setChar, setDataObject, setDataObject, setDataObject, setDate, setDate, setDate, setDouble, setDouble, setDouble, setFloat, setFloat, setFloat, setInt, setInt, setInt, setList, setList, setList, setLong, setLong, setLong, setShort, setShort, setShort, setString, setString, setString, unset, unset, unset
 
Methods inherited from interface org.eclipse.emf.ecore.ENamedElement
getName, setName
 
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotations
 

Method Detail

getSchema

Schema getSchema()
Returns the value of the 'Schema' reference. It is bidirectional and its opposite is 'Indices'.

If the meaning of the 'Schema' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Schema' reference.
See Also:
setSchema(Schema), SQLConstraintsPackage.getIndex_Schema(), Schema.getIndices()

setSchema

void setSchema(Schema value)
Sets the value of the 'Schema' reference.

Parameters:
value - the new value of the 'Schema' reference.
See Also:
getSchema()

isClustered

boolean isClustered()
Returns the value of the 'Clustered' attribute. The default value is "false".

If the meaning of the 'Clustered' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Clustered' attribute.
See Also:
setClustered(boolean), SQLConstraintsPackage.getIndex_Clustered()

setClustered

void setClustered(boolean value)
Sets the value of the 'Clustered' attribute.

Parameters:
value - the new value of the 'Clustered' attribute.
See Also:
isClustered()

getFillFactor

int getFillFactor()
Returns the value of the 'Fill Factor' attribute. The default value is "0".

If the meaning of the 'Fill Factor' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Fill Factor' attribute.
See Also:
setFillFactor(int), SQLConstraintsPackage.getIndex_FillFactor()

setFillFactor

void setFillFactor(int value)
Sets the value of the 'Fill Factor' attribute.

Parameters:
value - the new value of the 'Fill Factor' attribute.
See Also:
getFillFactor()

isUnique

boolean isUnique()
Returns the value of the 'Unique' attribute. The default value is "false".

If the meaning of the 'Unique' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Unique' attribute.
See Also:
setUnique(boolean), SQLConstraintsPackage.getIndex_Unique()

setUnique

void setUnique(boolean value)
Sets the value of the 'Unique' attribute.

Parameters:
value - the new value of the 'Unique' attribute.
See Also:
isUnique()

isSystemGenerated

boolean isSystemGenerated()
Returns the value of the 'System Generated' attribute.

If the meaning of the 'System Generated' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'System Generated' attribute.
See Also:
setSystemGenerated(boolean), SQLConstraintsPackage.getIndex_SystemGenerated()

setSystemGenerated

void setSystemGenerated(boolean value)
Sets the value of the 'System Generated' attribute.

Parameters:
value - the new value of the 'System Generated' attribute.
See Also:
isSystemGenerated()

getMembers

org.eclipse.emf.common.util.EList getMembers()
Returns the value of the 'Members' containment reference list. The list contents are of type IndexMember.

If the meaning of the 'Members' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Members' containment reference list.
See Also:
SQLConstraintsPackage.getIndex_Members()

getTable

Table getTable()
Returns the value of the 'Table' reference. It is bidirectional and its opposite is 'Index'.

If the meaning of the 'Table' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Table' reference.
See Also:
setTable(Table), SQLConstraintsPackage.getIndex_Table(), Table.getIndex()

setTable

void setTable(Table value)
Sets the value of the 'Table' reference.

Parameters:
value - the new value of the 'Table' reference.
See Also:
getTable()

getForeignKey

org.eclipse.emf.common.util.EList getForeignKey()
Returns the value of the 'Foreign Key' reference list. The list contents are of type ForeignKey. It is bidirectional and its opposite is 'Unique Index'.

If the meaning of the 'Foreign Key' reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Foreign Key' reference list.
See Also:
SQLConstraintsPackage.getIndex_ForeignKey(), ForeignKey.getUniqueIndex()

getIncludedMembers

org.eclipse.emf.common.util.EList getIncludedMembers()
Returns the value of the 'Included Members' containment reference list. The list contents are of type IndexMember.

If the meaning of the 'Included Members' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Included Members' containment reference list.
See Also:
SQLConstraintsPackage.getIndex_IncludedMembers()