Package generalDatabase
Class PamSubtableData
java.lang.Object
generalDatabase.PamSubtableData
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSubtableItemToList(PamSubtableData subtableItem) longlonglongintlongvoidsetBinaryFilename(String binaryFilename) voidsetChildUID(long unitUID) voidsetChildUTC(long childUTC) voidsetClickNumber(Integer clickNumber) voidsetDbIndex(long dbIndex) voidsetLongName(String longName) voidsetParentID(int parentID) voidsetParentUID(long parentUID)
-
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
-
setLongName
-
getBinaryFilename
-
setBinaryFilename
-
getChildUID
public long getChildUID() -
setChildUID
public void setChildUID(long unitUID) -
getSubtableItems
-
addSubtableItemToList
-
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
- Returns:
- the clickNumber
-
setClickNumber
- Parameters:
clickNumber- the clickNumber to set
-