edu.ksu.cis.bnj.bbn.prm
Class PRMClass
java.lang.Object
edu.ksu.cis.bnj.bbn.prm.PRMClass
- public class PRMClass
- extends java.lang.Object
- Purpose: Abstract Relational Database table in a PRM class
-
- Description:PRM stands for Probabilistic Relational Model.PRM aims at modeling a
relational database into a bayesian network.PRMClass is an object-oriented class modeling
of a typical relational database table.This class will represent a database table and
abstracts properties of a database table into member variables, like primary key, foreign
key, list of other attributes of the table.It only gives the structure/ schema of a
relational database table and not the actual tuples, i.e., it does not give the values of
rows of the table.
-
- Version:
- 0.1.0
- Author:
- Prashanth R BoddhiReddy
- See Also:
PRMBBN
,
PRMdata
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mPRMSchema
public PRMSchema mPRMSchema
mName
public java.lang.String mName
PRMClass
public PRMClass()
PRMClass
public PRMClass(PRMSchema prmSchema)
display
public void display()
setClassName
public void setClassName(java.lang.String name)
setPrimaryKey
public void setPrimaryKey(java.lang.String pKeyName)
- There is no need of these methods
Most of these methods are already implemented in prmSchema
will try to either rename prmSchema to prmClass till then
addRefferenceAttribute
public void addRefferenceAttribute(java.lang.String rKeyName)
addAttribute
public void addAttribute(java.lang.String attribute)
getPrimaryKey
public java.lang.String getPrimaryKey()
getAttributeList
public java.util.LinkedList getAttributeList(int x)