public class SysDataElementMAXRELATIONSHIP extends SysDataElement implements UpgConstants
psdi.configure.SysDataElement
.
SysDataElementMAXRELATIONSHIP is instanciated by the following:
ConfigXMLFactory
, via
Upgrade
.
The SysDataElementMAXRELATIONSHIP method getSql
returns sql statements for populating the MAXRELATIONSHIP table appropriately, after having run ConfigDB.
SysDataElement
,
psdi.upgrade.BuildUpgMetadata
,
psdi.upgrade.Upgrade
,
Serialized FormcodeElements, con, doNotUpdateCols, keyCols, newCol, newData, newDataOldKeys, oldCol, oldData, orgidKey, orgs, siteidKey, sites, sNo, status, sYes, tbname, util
DB2, doNotUpdateACTION, doNotUpdateALNDOMAIN, doNotUpdateAPPLICATIONAUTH, doNotUpdateAUTOKEY, doNotUpdateCONDITION, doNotUpdateCONTRACTPROPERTY, doNotUpdateCONTRACTTYPE, doNotUpdateCROSSOVERDOMAIN, doNotUpdateDOCTYPES, doNotUpdateLANGUAGE, doNotUpdateMAXAPPS, doNotUpdateMAXCONDDETAIL, doNotUpdateMAXCONTROLVALUE, doNotUpdateMAXDOMAIN, doNotUpdateMAXLOGAPPENDER, doNotUpdateMAXLOGGER, doNotUpdateMAXMENU, doNotUpdateMAXMESSAGES, doNotUpdateMAXMODULES, doNotUpdateMAXPROP, doNotUpdateMAXPROPVALUE, doNotUpdateMAXROLE, doNotUpdateMAXSEQUENCE, doNotUpdateMAXSERSECURITY, doNotUpdateMAXSERVICE, doNotUpdateMAXTABLEDOMAIN, doNotUpdateMAXVARS, doNotUpdateMAXVARTYPE, doNotUpdateMXCOLLAB, doNotUpdateMXCOLLABREF, doNotUpdateNUMERICDOMAIN, doNotUpdateNUMRANGEDOMAIN, doNotUpdatePORTLET, doNotUpdatePRICALC, doNotUpdateSECURITYRESTRICT, doNotUpdateSIGOPTION, doNotUpdateSYNONYMDOMAIN, doNotUpdateTAXTYPE, doNotUpdateWORKPRIORITY, doNotUpdateWORKTYPE, doNotUpdateWPEDITSETTING, messageCache, NEWONLY, OLDANDNEW, OLDONLY, ORACLE, SQLINET, SQLMICROSOFT, SQLSERVER, SYSDATATABLES, SYSTEMTABLES, UNKNOWN
Constructor and Description |
---|
SysDataElementMAXRELATIONSHIP() |
SysDataElementMAXRELATIONSHIP(java.lang.String name) |
SysDataElementMAXRELATIONSHIP(java.lang.String name,
org.jdom.Namespace namespace) |
SysDataElementMAXRELATIONSHIP(java.lang.String name,
java.lang.String uri) |
SysDataElementMAXRELATIONSHIP(java.lang.String name,
java.lang.String prefix,
java.lang.String uri) |
SysDataElementMAXRELATIONSHIP(java.lang.String tbname,
java.util.TreeMap newCol,
java.util.TreeMap oldCol,
java.util.TreeMap newData,
java.util.TreeMap oldData,
java.util.TreeMap newDataOldKeys,
java.util.TreeMap keyCols,
java.io.File codefile)
This constructor is used when creating a new Element for the purpose
of writing out XML.
|
Modifier and Type | Method and Description |
---|---|
void |
addOneRow(java.lang.String key,
java.util.HashMap newVals)
When generating XML, and the column exists only in the new database, this method is used
to add its attributes.
|
void |
compareRows(java.lang.String key,
java.util.HashMap newVals,
java.util.HashMap oldVals)
When generating XML, and the key exists both the new and old database, this method is used
to compare and add its attributes to this SysDataElement, when the values are different.
|
addCodes, addCodesExtension, buildFromHashMaps, canUpdateColumn, compareRows, deleteRow, deleteRowExtension, domainInUse, executeQuery, getAttribute, getChunkUpdates, getDeleteSql, getKeys, getMaxReserved, getNextVal, getSequenceName, getSql, getStatus, getTableName, getUpgCodesElement, getWhereClause, haveDup, initSequence, insertRow, insertRowExtension, isUniqueColumnID, loadDoNotUpdateCols, removeOneRow, scanKeyCols, setKeyAttributes, setStatus, setTableName, setUpgCodes, updateRow, updateRowExtension
addContent, addContent, addContent, addContent, addContent, addNamespaceDeclaration, clone, cloneContent, getAdditionalNamespaces, getAttribute, getAttribute, getAttributes, getAttributeValue, getAttributeValue, getAttributeValue, getAttributeValue, getChild, getChild, getChildren, getChildren, getChildren, getChildText, getChildText, getChildTextNormalize, getChildTextNormalize, getChildTextTrim, getChildTextTrim, getContent, getContent, getContent, getContentSize, getDescendants, getDescendants, getName, getNamespace, getNamespace, getNamespacePrefix, getNamespaceURI, getQualifiedName, getText, getTextNormalize, getTextTrim, getValue, indexOf, isAncestor, isRootElement, removeAttribute, removeAttribute, removeAttribute, removeChild, removeChild, removeChildren, removeChildren, removeContent, removeContent, removeContent, removeContent, removeNamespaceDeclaration, setAttribute, setAttribute, setAttribute, setAttributes, setAttributes, setContent, setContent, setContent, setContent, setName, setNamespace, setText, toString
public SysDataElementMAXRELATIONSHIP()
public SysDataElementMAXRELATIONSHIP(java.lang.String name)
public SysDataElementMAXRELATIONSHIP(java.lang.String name, org.jdom.Namespace namespace)
public SysDataElementMAXRELATIONSHIP(java.lang.String name, java.lang.String uri)
public SysDataElementMAXRELATIONSHIP(java.lang.String name, java.lang.String prefix, java.lang.String uri)
public SysDataElementMAXRELATIONSHIP(java.lang.String tbname, java.util.TreeMap newCol, java.util.TreeMap oldCol, java.util.TreeMap newData, java.util.TreeMap oldData, java.util.TreeMap newDataOldKeys, java.util.TreeMap keyCols, java.io.File codefile) throws java.lang.Exception
buildFromHashMaps
.tbname
- The name of the table.
See tbname
.newCol
- The column metadata on this table, from the new database.
See newCol
.oldCol
- The column metadata on this table, from the old database.
See oldCol
.newData
- The data from the new database.
See newData
.oldData
- The data from the old database.
See oldData
.keyCols
- Key columns for this table.
See keyCols
.codeFile
- The file UpgCodes.xml that may contain special codes for rows in the table.
For SysDataElementMAXRELATIONSHIP this is null.java.lang.Exception
SysDataElement.scanKeyCols()
,
SysDataElement.buildFromHashMaps()
public void addOneRow(java.lang.String key, java.util.HashMap newVals) throws java.lang.Exception
addOneRow
in class SysDataElement
key
- The key to this row. Format is described in
getData
.newVals
- An entry from the newData
TreeMap, which specifies the
data for this row.java.lang.Exception
SysDataElement.setKeyAttributes(org.jdom.Element, java.util.HashMap)
,
SysDataElement.haveDup(org.jdom.Element)
,
SysDataElement.addCodes(org.jdom.Element, java.lang.String)
public void compareRows(java.lang.String key, java.util.HashMap newVals, java.util.HashMap oldVals) throws java.lang.Exception
compareRows
in class SysDataElement
key
- The key of the row being compared. Columns are delimited by "|".
Format is described in getData
.newVals
- An entry from the newData
TreeMap, which specifies the
data for this row in the new database.oldVals
- An entry from the oldData
TreeMap, which specifies the
data for this row in the old database.java.lang.Exception
SysDataElement.canUpdateColumn(java.lang.String)
,
SysDataElement.setKeyAttributes(org.jdom.Element, java.util.HashMap)
,
SysDataElement.haveDup(org.jdom.Element)
,
SysDataElement.addCodes(org.jdom.Element, java.lang.String)