Oracle Fusion Middleware extensions for XML based Datamodel Framework
11g Release 1 (11.1.1.6)

E22566-04

oracle.apps.fnd.applxdf.xdfapi
Class CheckConstraint

java.lang.Object
  extended by oracle.apps.fnd.applxdf.xdfapi.XdfObject
      extended by oracle.apps.fnd.applxdf.xdfapi.Constraint
          extended by oracle.apps.fnd.applxdf.xdfapi.CheckConstraint

public class CheckConstraint
extends Constraint

A CheckConstraint object represents a Check Constraint Key in a Table.

Author:
izhang <irene.zhang@oracle.com>

Field Summary
 
Fields inherited from class oracle.apps.fnd.applxdf.xdfapi.Constraint
mEnable, TYPE
 
Fields inherited from class oracle.apps.fnd.applxdf.xdfapi.XdfObject
ctx, DEBUG, mBaseObjType, mName, mPersistenceFormat, mSchemaName, mUsrPros, mXmlDoc, mXPath, mXPathExpr
 
Constructor Summary
CheckConstraint(oracle.xml.parser.v2.XMLElement xmlElem)
          Constructs a new CheckConstraint.
CheckConstraint(oracle.xml.parser.v2.XMLElement xmlElem, boolean persistenceFormat)
          Constructs a new CheckConstraint.
 
Method Summary
 java.lang.String getCondition()
          Get the Condition expression for this check key.
 java.lang.String getConstraintType()
          Get Constraint type.
 java.lang.String toString()
          Ovewrite Root perent, Object's toString() to print out detail of CheckConstraint object.
 
Methods inherited from class oracle.apps.fnd.applxdf.xdfapi.Constraint
createXPath, extractConsColNames, extractEnable, extractEnableOld, extractName, extractNameOld, getType, isEnable, setEnable
 
Methods inherited from class oracle.apps.fnd.applxdf.xdfapi.XdfObject
getName, getPersistenceFormat, getSchemaName, getXmlDoc
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CheckConstraint

public CheckConstraint(oracle.xml.parser.v2.XMLElement xmlElem)
Constructs a new CheckConstraint.


CheckConstraint

public CheckConstraint(oracle.xml.parser.v2.XMLElement xmlElem,
                       boolean persistenceFormat)
Constructs a new CheckConstraint.

Method Detail

getConstraintType

public java.lang.String getConstraintType()
Get Constraint type.

Specified by:
getConstraintType in class Constraint
Returns:
String

getCondition

public java.lang.String getCondition()
Get the Condition expression for this check key.

Returns:
String

toString

public java.lang.String toString()
Ovewrite Root perent, Object's toString() to print out detail of CheckConstraint object.

Overrides:
toString in class java.lang.Object
Returns:
String

Oracle Fusion Middleware extensions for XML based Datamodel Framework
11g Release 1 (11.1.1.6)

E22566-04

Copyright © 2012 Oracle. All Rights Reserved.