psdi.mbo

Class PrimaryKeyInfo

  • java.lang.Object
    • psdi.mbo.PrimaryKeyInfo
    • Constructor Summary

      Constructors 
      Constructor and Description
      PrimaryKeyInfo()
      Deprecated. 
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • PrimaryKeyInfo

        public PrimaryKeyInfo()
        Deprecated. 
    • Method Detail

      • addMboValueInfo

        public void addMboValueInfo(MboValueInfo mv)
        Deprecated. 
        Loads keyColumns with MboValueInfo. Should be called once for each attribute in the key, in the proper sequence.
      • getMboValueName

        public java.lang.String getMboValueName(int i)
                                         throws java.lang.ArrayIndexOutOfBoundsException
        Deprecated. 
        Get the name of the attribute in the specified position of the primary key.
        Parameters:
        i - The position in the primary key.
        Returns:
        The name of the attribute.
        Throws:
        java.lang.ArrayIndexOutOfBoundsException
        See Also:
        MboValueInfo.getName()
      • getMboValueInfo

        public MboValueInfo getMboValueInfo(int i)
                                     throws java.lang.ArrayIndexOutOfBoundsException
        Deprecated. 
        Get the MboValueInfo in the specified position of the primary key.
        Parameters:
        i - The position in the primary key.
        Returns:
        The MboValueInfo
        Throws:
        java.lang.ArrayIndexOutOfBoundsException
        See Also:
        MboValueInfo
      • getMboValuesInfo

        public java.util.Enumeration getMboValuesInfo()
        Deprecated. 
        Called to enumerate the members of the primary key.
        Returns:
        New KeyEnumerator
        See Also:
        #KeyEnumerator
      • size

        public int size()
        Deprecated. 
        Return the number of attributes in the primary key.
        Returns:
        The number of attributes in the primary key.
        See Also:
        PrimaryKeyInfo.keyColumns
      • toString

        public java.lang.String toString()
        Deprecated. 
        Return descriptive information about the primary key.
        Overrides:
        toString in class java.lang.Object
        Returns:
        A listing of the members of the primary key.
      • clearKeyColumns

        public void clearKeyColumns()
        Deprecated. 
        When the configuration process adjusts indexes, the PrimaryKeyInfo will need to be rebuilt for each MboSet whose primary key has changed. The calling process (refreshIndexMetadata) must perform the following.
        1. Call clearKeyColumns to clear keyColumns.
        2. Call MboValueInfo setKey and setPrimaryKeyColSeq for each key attribute that has changed.
        3. Repopulate PrimaryKeyInfo by calling addMboValueInfo for each element in the primary key.