|
Extension SDK 9.0.5 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.jdeveloper.cm.ds.db.AbstractDBObject
oracle.jdeveloper.cm.ds.db.Constraint
A Constraint
represents a constraint on a table or view.
Field Summary | |
static java.lang.String |
TYPE
|
Fields inherited from interface oracle.jdeveloper.cm.ds.db.DBObject |
COMMENT |
Fields inherited from interface oracle.ide.addin.Subject |
OBJECT_MODIFIED |
Constructor Summary | |
protected |
Constraint()
Constructs a new Constraint. |
protected |
Constraint(java.lang.String name,
Relation relation)
Constructs a new Constraint on a relation with a specific name. |
Method Summary | |
protected void |
copyToImpl(Constraint copy)
|
protected boolean |
equalsImpl(Constraint target)
|
abstract java.lang.String |
getConstraintType()
Retrieves the type of constraint represented by this instance. |
Relation |
getRelation()
Gets the Relation that owns this Constraint. |
java.lang.String |
getType()
Returns the type of this object. |
boolean |
isEnabled()
Whether this constraint is current enabled. |
void |
setEnabled(boolean enabled)
Sets the enabled state of this constraint. |
void |
setRelation(Relation relation)
Sets the Relation that owns this Constraint. |
Methods inherited from class oracle.jdeveloper.cm.ds.db.AbstractDBObject |
attach, compareToImpl, copyToImpl, detach, equals, equalsImpl, getID, getName, getProperties, getProperty, hashCode, notifyObservers, setID, setName, setProperties, setProperty, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface oracle.jdeveloper.cm.ds.db.DBObject |
copyTo |
Field Detail |
public static final java.lang.String TYPE
Constructor Detail |
protected Constraint()
protected Constraint(java.lang.String name, Relation relation)
name
- a string containing the constraint namerelation
- the relation being constrainedMethod Detail |
protected void copyToImpl(Constraint copy)
protected boolean equalsImpl(Constraint target)
public void setEnabled(boolean enabled)
enabled
- a boolean value indicating whether this constraint it
is enabled.public boolean isEnabled()
public java.lang.String getType()
DBObject
public abstract java.lang.String getConstraintType()
public Relation getRelation() throws TransientMarker
Relation
that owns this Constraint.
TransientMarker
public void setRelation(Relation relation)
Relation
that owns this Constraint.
relation
- the Relation that owns this constraint.
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.