org.plasma.provisioning.rdb.oracle.g11.sys
Interface Constraint

All Superinterfaces:
DataObject, PlasmaDataObject, java.io.Serializable
All Known Implementing Classes:
ConstraintImpl

public interface Constraint
extends PlasmaDataObject

A constraint definition

Generated interface representing the domain model entity Constraint. This SDO interface directly reflects the class (single or multiple) inheritance lattice of the source domain model(s) and is part of namespace http://org.plasma/sdo/oracle/11g/sys defined within the Configuration.

Data Store Mapping: Corresponds to the physical data store entity ALL_CONSTRAINTS.

See Also:
Table

Nested Class Summary
static class Constraint.PROPERTY
          The declared logical property names for this Type.
 
Field Summary
static java.lang.String NAMESPACE_URI
          The SDO namespace URI associated with the Type for this class.
static java.lang.String TYPE_NAME_CONSTRAINT
          The entity or Type logical name associated with this class.
 
Method Summary
 Table createTable()
          Creates and returns a new instance of Type Table automatically establishing a containment relationship through the object's reference property, table.
 java.lang.String getConstraintName()
          Returns the value of the constraintName property.
 java.lang.String getConstraintType()
          Returns the value of the constraintType property.
 java.lang.String getDeleteRule()
          Returns the value of the deleteRule property.
 java.lang.String getIndexName()
          Returns the value of the indexName property.
 java.lang.String getIndexOwner()
          Returns the value of the indexOwner property.
 java.lang.String getOwner()
          Returns the value of the owner property.
 java.lang.String getRefConstraintName()
          Returns the value of the refConstraintName property.
 java.lang.String getRefOwner()
          Returns the value of the refOwner property.
 java.lang.String getSearchCondition()
          Returns the value of the searchCondition property.
 Table getTable()
          Returns the value of the table property.
 boolean isSetConstraintName()
          Returns true if the constraintName property is set.
 boolean isSetConstraintType()
          Returns true if the constraintType property is set.
 boolean isSetDeleteRule()
          Returns true if the deleteRule property is set.
 boolean isSetIndexName()
          Returns true if the indexName property is set.
 boolean isSetIndexOwner()
          Returns true if the indexOwner property is set.
 boolean isSetOwner()
          Returns true if the owner property is set.
 boolean isSetRefConstraintName()
          Returns true if the refConstraintName property is set.
 boolean isSetRefOwner()
          Returns true if the refOwner property is set.
 boolean isSetSearchCondition()
          Returns true if the searchCondition property is set.
 boolean isSetTable()
          Returns true if the table property is set.
 void setConstraintName(java.lang.String value)
          Sets the value of the constraintName property to the given value.
 void setConstraintType(java.lang.String value)
          Sets the value of the constraintType property to the given value.
 void setDeleteRule(java.lang.String value)
          Sets the value of the deleteRule property to the given value.
 void setIndexName(java.lang.String value)
          Sets the value of the indexName property to the given value.
 void setIndexOwner(java.lang.String value)
          Sets the value of the indexOwner property to the given value.
 void setOwner(java.lang.String value)
          Sets the value of the owner property to the given value.
 void setRefConstraintName(java.lang.String value)
          Sets the value of the refConstraintName property to the given value.
 void setRefOwner(java.lang.String value)
          Sets the value of the refOwner property to the given value.
 void setSearchCondition(java.lang.String value)
          Sets the value of the searchCondition property to the given value.
 void setTable(Table value)
          Sets the value of the table property to the given value.
 void unsetConstraintName()
          Unsets the constraintName property, the value of the property of the object being set to the property's default value.
 void unsetConstraintType()
          Unsets the constraintType property, the value of the property of the object being set to the property's default value.
 void unsetDeleteRule()
          Unsets the deleteRule property, the value of the property of the object being set to the property's default value.
 void unsetIndexName()
          Unsets the indexName property, the value of the property of the object being set to the property's default value.
 void unsetIndexOwner()
          Unsets the indexOwner property, the value of the property of the object being set to the property's default value.
 void unsetOwner()
          Unsets the owner property, the value of the property of the object being set to the property's default value.
 void unsetRefConstraintName()
          Unsets the refConstraintName property, the value of the property of the object being set to the property's default value.
 void unsetRefOwner()
          Unsets the refOwner property, the value of the property of the object being set to the property's default value.
 void unsetSearchCondition()
          Unsets the searchCondition property, the value of the property of the object being set to the property's default value.
 void unsetTable()
          Unsets the table property, the value of the property of the object being set to the property's default value.
 
Methods inherited from interface org.plasma.sdo.PlasmaDataObject
accept, accept, accept, acceptDepthFirst, add, contains, dump, dumpDepthFirst, find, getDataObject, getUUID, getUUIDAsString, remove, remove, reset, resetUUID, setContainer, setContainmentProperty, setDataGraph
 
Methods inherited from interface commonj.sdo.DataObject
createDataObject, createDataObject, createDataObject, createDataObject, createDataObject, createDataObject, delete, detach, get, get, get, getBigDecimal, getBigDecimal, getBigDecimal, getBigInteger, getBigInteger, getBigInteger, getBoolean, getBoolean, getBoolean, getByte, getByte, getByte, getBytes, getBytes, getBytes, getChangeSummary, getChar, getChar, getChar, getContainer, getContainmentProperty, getDataGraph, getDataObject, getDataObject, getDataObject, getDate, getDate, getDate, getDouble, getDouble, getDouble, getFloat, getFloat, getFloat, getInstanceProperties, getInstanceProperty, getInt, getInt, getInt, getList, getList, getList, getLong, getLong, getLong, getProperty, getRootObject, getSequence, 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
 

Field Detail

NAMESPACE_URI

static final java.lang.String NAMESPACE_URI
The SDO namespace URI associated with the Type for this class.

See Also:
Constant Field Values

TYPE_NAME_CONSTRAINT

static final java.lang.String TYPE_NAME_CONSTRAINT
The entity or Type logical name associated with this class.

See Also:
Constant Field Values
Method Detail

isSetOwner

boolean isSetOwner()
Returns true if the owner property is set.

Property Definition: See getOwner or setOwner(...) for a definition of property owner

Returns:
true if the owner property is set.

unsetOwner

void unsetOwner()
Unsets the owner property, the value of the property of the object being set to the property's default value. The property will no longer be considered set.

Property Definition: See getOwner or setOwner(...) for a definition of property owner


getOwner

java.lang.String getOwner()
Returns the value of the owner property.

Property Definition: Owner of the constraint definition

Returns:
the value of the owner property.

setOwner

void setOwner(java.lang.String value)
Sets the value of the owner property to the given value.

Property Definition: Owner of the constraint definition


isSetTable

boolean isSetTable()
Returns true if the table property is set.

Property Definition: See getTable or setTable(...) for a definition of property table

Returns:
true if the table property is set.

unsetTable

void unsetTable()
Unsets the table property, the value of the property of the object being set to the property's default value. The property will no longer be considered set.

Property Definition: See getTable or setTable(...) for a definition of property table


createTable

Table createTable()
Creates and returns a new instance of Type Table automatically establishing a containment relationship through the object's reference property, table.

Property Definition: See getTable or setTable(...) for a definition of property table

Returns:
a new instance of Type Table automatically establishing a containment relationship through the object's reference property table.

getTable

Table getTable()
Returns the value of the table property.

Property Definition: The reference to the owning table

Returns:
the value of the table property.

setTable

void setTable(Table value)
Sets the value of the table property to the given value.

Property Definition: The reference to the owning table


isSetConstraintName

boolean isSetConstraintName()
Returns true if the constraintName property is set.

Property Definition: See getConstraintName or setConstraintName(...) for a definition of property constraintName

Returns:
true if the constraintName property is set.

unsetConstraintName

void unsetConstraintName()
Unsets the constraintName property, the value of the property of the object being set to the property's default value. The property will no longer be considered set.

Property Definition: See getConstraintName or setConstraintName(...) for a definition of property constraintName


getConstraintName

java.lang.String getConstraintName()
Returns the value of the constraintName property.

Property Definition: Name of the constraint definition

Returns:
the value of the constraintName property.

setConstraintName

void setConstraintName(java.lang.String value)
Sets the value of the constraintName property to the given value.

Property Definition: Name of the constraint definition


isSetConstraintType

boolean isSetConstraintType()
Returns true if the constraintType property is set.

Property Definition: See getConstraintType or setConstraintType(...) for a definition of property constraintType

Returns:
true if the constraintType property is set.

unsetConstraintType

void unsetConstraintType()
Unsets the constraintType property, the value of the property of the object being set to the property's default value. The property will no longer be considered set.

Property Definition: See getConstraintType or setConstraintType(...) for a definition of property constraintType


getConstraintType

java.lang.String getConstraintType()
Returns the value of the constraintType property.

Property Definition: Type of constraint definition: C (check constraint on a table) P (primary key) U (unique key) R (referential integrity) V (with check option, on a view) O (with read only, on a view)

Returns:
the value of the constraintType property.

setConstraintType

void setConstraintType(java.lang.String value)
Sets the value of the constraintType property to the given value.

Property Definition: Type of constraint definition: C (check constraint on a table) P (primary key) U (unique key) R (referential integrity) V (with check option, on a view) O (with read only, on a view)

Enumeration Constraints:
     name: ConstraintType
     URI:http://org.plasma/sdo/oracle/11g/sys


isSetSearchCondition

boolean isSetSearchCondition()
Returns true if the searchCondition property is set.

Property Definition: See getSearchCondition or setSearchCondition(...) for a definition of property searchCondition

Returns:
true if the searchCondition property is set.

unsetSearchCondition

void unsetSearchCondition()
Unsets the searchCondition property, the value of the property of the object being set to the property's default value. The property will no longer be considered set.

Property Definition: See getSearchCondition or setSearchCondition(...) for a definition of property searchCondition


getSearchCondition

java.lang.String getSearchCondition()
Returns the value of the searchCondition property.

Property Definition: Text of search condition for a check constraint

Returns:
the value of the searchCondition property.

setSearchCondition

void setSearchCondition(java.lang.String value)
Sets the value of the searchCondition property to the given value.

Property Definition: Text of search condition for a check constraint


isSetRefOwner

boolean isSetRefOwner()
Returns true if the refOwner property is set.

Property Definition: See getRefOwner or setRefOwner(...) for a definition of property refOwner

Returns:
true if the refOwner property is set.

unsetRefOwner

void unsetRefOwner()
Unsets the refOwner property, the value of the property of the object being set to the property's default value. The property will no longer be considered set.

Property Definition: See getRefOwner or setRefOwner(...) for a definition of property refOwner


getRefOwner

java.lang.String getRefOwner()
Returns the value of the refOwner property.

Property Definition: Owner of table referred to in a referential constraint

Returns:
the value of the refOwner property.

setRefOwner

void setRefOwner(java.lang.String value)
Sets the value of the refOwner property to the given value.

Property Definition: Owner of table referred to in a referential constraint


isSetRefConstraintName

boolean isSetRefConstraintName()
Returns true if the refConstraintName property is set.

Property Definition: See getRefConstraintName or setRefConstraintName(...) for a definition of property refConstraintName

Returns:
true if the refConstraintName property is set.

unsetRefConstraintName

void unsetRefConstraintName()
Unsets the refConstraintName property, the value of the property of the object being set to the property's default value. The property will no longer be considered set.

Property Definition: See getRefConstraintName or setRefConstraintName(...) for a definition of property refConstraintName


getRefConstraintName

java.lang.String getRefConstraintName()
Returns the value of the refConstraintName property.

Property Definition: Name of the unique constraint definition for referenced table

Returns:
the value of the refConstraintName property.

setRefConstraintName

void setRefConstraintName(java.lang.String value)
Sets the value of the refConstraintName property to the given value.

Property Definition: Name of the unique constraint definition for referenced table


isSetDeleteRule

boolean isSetDeleteRule()
Returns true if the deleteRule property is set.

Property Definition: See getDeleteRule or setDeleteRule(...) for a definition of property deleteRule

Returns:
true if the deleteRule property is set.

unsetDeleteRule

void unsetDeleteRule()
Unsets the deleteRule property, the value of the property of the object being set to the property's default value. The property will no longer be considered set.

Property Definition: See getDeleteRule or setDeleteRule(...) for a definition of property deleteRule


getDeleteRule

java.lang.String getDeleteRule()
Returns the value of the deleteRule property.

Property Definition: Delete rule for a referential constraint (CASCADE or NO ACTION)

Returns:
the value of the deleteRule property.

setDeleteRule

void setDeleteRule(java.lang.String value)
Sets the value of the deleteRule property to the given value.

Property Definition: Delete rule for a referential constraint (CASCADE or NO ACTION)


isSetIndexOwner

boolean isSetIndexOwner()
Returns true if the indexOwner property is set.

Property Definition: See getIndexOwner or setIndexOwner(...) for a definition of property indexOwner

Returns:
true if the indexOwner property is set.

unsetIndexOwner

void unsetIndexOwner()
Unsets the indexOwner property, the value of the property of the object being set to the property's default value. The property will no longer be considered set.

Property Definition: See getIndexOwner or setIndexOwner(...) for a definition of property indexOwner


getIndexOwner

java.lang.String getIndexOwner()
Returns the value of the indexOwner property.

Property Definition: Name of the user owning the index

Returns:
the value of the indexOwner property.

setIndexOwner

void setIndexOwner(java.lang.String value)
Sets the value of the indexOwner property to the given value.

Property Definition: Name of the user owning the index


isSetIndexName

boolean isSetIndexName()
Returns true if the indexName property is set.

Property Definition: See getIndexName or setIndexName(...) for a definition of property indexName

Returns:
true if the indexName property is set.

unsetIndexName

void unsetIndexName()
Unsets the indexName property, the value of the property of the object being set to the property's default value. The property will no longer be considered set.

Property Definition: See getIndexName or setIndexName(...) for a definition of property indexName


getIndexName

java.lang.String getIndexName()
Returns the value of the indexName property.

Property Definition: Name of the index (only shown for unique and primary-key constraints)

Returns:
the value of the indexName property.

setIndexName

void setIndexName(java.lang.String value)
Sets the value of the indexName property to the given value.

Property Definition: Name of the index (only shown for unique and primary-key constraints)



Copyright © 2013. All Rights Reserved.