public class PrimaryKeyInfo
extends java.lang.Object
implements java.io.Serializable
getPrimaryKeyInfo
.MaximoDD.loadMboValuesInfo(java.sql.Connection)
,
psdi.mbo.MboSetInfo#getPrimaryKeyInfo
,
MboSetInfo.getKeyAttributes()
,
MboSetInfo.getKeyRelationship()
,
psdi.app.configure
,
Serialized FormConstructor and Description |
---|
PrimaryKeyInfo()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addMboValueInfo(MboValueInfo mv)
Deprecated.
Loads
keyColumns with MboValueInfo. |
void |
clearKeyColumns()
Deprecated.
When the configuration process adjusts indexes, the PrimaryKeyInfo
will need to be rebuilt for each MboSet whose primary key has changed.
|
MboValueInfo |
getMboValueInfo(int i)
Deprecated.
Get the MboValueInfo in the specified position of the primary key.
|
java.lang.String |
getMboValueName(int i)
Deprecated.
Get the name of the attribute in the specified position of the primary key.
|
java.util.Enumeration |
getMboValuesInfo()
Deprecated.
Called to enumerate the members of the primary key.
|
int |
size()
Deprecated.
Return the number of attributes in the primary key.
|
java.lang.String |
toString()
Deprecated.
Return descriptive information about the primary key.
|
public void addMboValueInfo(MboValueInfo mv)
keyColumns
with MboValueInfo.
Should be called once for each attribute in the key, in the proper sequence.public java.lang.String getMboValueName(int i) throws java.lang.ArrayIndexOutOfBoundsException
i
- The position in the primary key.java.lang.ArrayIndexOutOfBoundsException
MboValueInfo.getName()
public MboValueInfo getMboValueInfo(int i) throws java.lang.ArrayIndexOutOfBoundsException
i
- The position in the primary key.java.lang.ArrayIndexOutOfBoundsException
MboValueInfo
public java.util.Enumeration getMboValuesInfo()
#KeyEnumerator
public int size()
keyColumns
public java.lang.String toString()
toString
in class java.lang.Object
public void clearKeyColumns()
refreshIndexMetadata
)
must perform the following.
clearKeyColumns
to clear keyColumns
.
setKey
and
setPrimaryKeyColSeq
for each key attribute that has changed.
addMboValueInfo
for each element in the primary key.