psdi.mbo

Class TenantIdData

  • java.lang.Object
    • psdi.mbo.TenantIdData
  • All Implemented Interfaces:
    java.io.Serializable


    public class TenantIdData
    extends java.lang.Object
    implements java.io.Serializable
    A class used for storing the fetched rowstamp data of a business object. The rowstamp data is internally maintained based on the rowstamp number returned by the appropriate RowStampInfo object.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      TenantIdData(TenantIdInfo tenantIdInfo)
      Sets the rowstamp information to be used by this.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void addTenantId(java.lang.String tableName, int tenantIdValue)
      Caches the passed rowstamp value internally.
      int getTenantIdValue(java.lang.String tableName)
      Returns the rowstamp value for the given table name.
      • Methods inherited from class java.lang.Object

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

      • TenantIdData

        public TenantIdData(TenantIdInfo tenantIdInfo)
        Sets the rowstamp information to be used by this.
        Parameters:
        rowStampInfo - the rowstamp information to be used by this.
    • Method Detail

      • addTenantId

        public void addTenantId(java.lang.String tableName,
                                int tenantIdValue)
        Caches the passed rowstamp value internally.
        Parameters:
        tableName - table name that represents the rowstamp value.
        rowStampValue - rowstamp value fetched from database.
      • getTenantIdValue

        public int getTenantIdValue(java.lang.String tableName)
        Returns the rowstamp value for the given table name.
        Parameters:
        tableName - table name for which rowstamp value is needed.
        Returns:
        the rowstamp value for the given table name.