psdi.configure

Class SysDataElementMAXRELATIONSHIP

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, org.jdom2.NamespaceAware, org.jdom2.Parent, UpgConstants


    public class SysDataElementMAXRELATIONSHIP
    extends SysDataElement
    implements UpgConstants
    Element to represent the MAXRELATIONSHIP table in the XML file that is output by BuildUpgMetadata and input to Upgrade. This is an extension of psdi.configure.SysDataElement.

    SysDataElementMAXRELATIONSHIP is instanciated by the following:

    • When reading XML (Upgrade), instanciated from ConfigXMLFactory, via Upgrade. The SysDataElementMAXRELATIONSHIP method getSql returns sql statements for populating the MAXRELATIONSHIP table appropriately, after having run ConfigDB.
    See Also:
    SysDataElement, psdi.upgrade.BuildUpgMetadata, psdi.upgrade.Upgrade, Serialized Form
    • Constructor Detail

      • SysDataElementMAXRELATIONSHIP

        public SysDataElementMAXRELATIONSHIP()
      • SysDataElementMAXRELATIONSHIP

        public SysDataElementMAXRELATIONSHIP(java.lang.String name)
      • SysDataElementMAXRELATIONSHIP

        public SysDataElementMAXRELATIONSHIP(java.lang.String name,
                                             org.jdom2.Namespace namespace)
      • SysDataElementMAXRELATIONSHIP

        public SysDataElementMAXRELATIONSHIP(java.lang.String name,
                                             java.lang.String uri)
      • SysDataElementMAXRELATIONSHIP

        public SysDataElementMAXRELATIONSHIP(java.lang.String name,
                                             java.lang.String prefix,
                                             java.lang.String uri)
      • SysDataElementMAXRELATIONSHIP

        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
        This constructor is used when creating a new Element for the purpose of writing out XML. It calls buildFromHashMaps.
        Parameters:
        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.
        Throws:
        java.lang.Exception
        See Also:
        SysDataElement.scanKeyCols(), SysDataElement.buildFromHashMaps()