Class PamSubtableData

java.lang.Object
generalDatabase.PamSubtableData

public class PamSubtableData extends Object
This class is used as temporary storage for subtable data of PamDataBlocks being loaded from a database. The class has two separate functions. First, it will hold information about each subtable item including database index and UID of the parent object, as well as PamDataBlock name and UID of the subtable data item. Secondly, it also serves to hold the data from all the individual rows of a subtable together in a single ArrayList. Thus, if a subtable has 10 rows there will be 10 PamSubtableData items created (one for each row, containing info about the row item) and an 11th PamSubtableData object to group all of the previous 10 objects into a single ArrayList.

Author:
SCANS
  • Constructor Details

    • PamSubtableData

      public PamSubtableData()
  • Method Details

    • getParentID

      public int getParentID()
    • setParentID

      public void setParentID(int parentID)
    • getParentUID

      public long getParentUID()
    • setParentUID

      public void setParentUID(long parentUID)
    • getLongName

      public String getLongName()
    • setLongName

      public void setLongName(String longName)
    • getBinaryFilename

      public String getBinaryFilename()
    • setBinaryFilename

      public void setBinaryFilename(String binaryFilename)
    • getChildUID

      public long getChildUID()
    • setChildUID

      public void setChildUID(long unitUID)
    • getSubtableItems

      public ArrayList<PamSubtableData> getSubtableItems()
    • addSubtableItemToList

      public void addSubtableItemToList(PamSubtableData subtableItem)
    • getDbIndex

      public long getDbIndex()
    • setDbIndex

      public void setDbIndex(long dbIndex)
    • getChildUTC

      public long getChildUTC()
      Returns:
      the childUTC
    • setChildUTC

      public void setChildUTC(long childUTC)
      Parameters:
      childUTC - the childUTC to set
    • getClickNumber

      public Integer getClickNumber()
      Returns:
      the clickNumber
    • setClickNumber

      public void setClickNumber(Integer clickNumber)
      Parameters:
      clickNumber - the clickNumber to set