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

E22566-06

oracle.apps.fnd.applxdf.xdfapi
Class PKConstraint

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.PKConstraint

public class PKConstraint
extends Constraint

A PKConstraint represents a Primary Key constraint. A Primary Key combines a NOT NULL constraint and a Unique constraint in a single declaration.

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
PKConstraint(oracle.xml.parser.v2.XMLElement xmlElem)
          Constructs a new PKConstraint.
PKConstraint(oracle.xml.parser.v2.XMLElement xmlElem, boolean persistenceFormat)
          Constructs a new PKConstraint.
 
Method Summary
 java.lang.String getConstraintType()
          Retrieve this constraint type.
 java.util.ArrayList getPKColumns()
          Get PK column list.
 java.lang.String toString()
          Print out detail of PKConstraint 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

PKConstraint

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


PKConstraint

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

Method Detail

getConstraintType

public java.lang.String getConstraintType()
Retrieve this constraint type.

Specified by:
getConstraintType in class Constraint
Returns:
String

getPKColumns

public java.util.ArrayList getPKColumns()
Get PK column list.

Returns:
ArrayList that contains PK columns.

toString

public java.lang.String toString()
Print out detail of PKConstraint 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-06

Copyright © 2012 Oracle. All Rights Reserved.