All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class DSRG.VKB.Relation_Component

java.lang.Object
   |
   +----DSRG.VKB.View_Component
           |
           +----DSRG.VKB.Relation_Component

public class Relation_Component
extends View_Component
implements Serializable, Cloneable
It's the relation component. It's a part of FROM clause.


Variable Index

 o rel
Relation reference stored in MKB.

Constructor Index

 o Relation_Component()
Default Constructor for Relation Component
 o Relation_Component(Relation, boolean, boolean)
Constructor for Relation Component for a Relation

Method Index

 o clone()
Clone the Relation_Component.
 o getIS()
returns the IS object of this relation
 o getISName()
returns the IS name of this relation
 o getName()
get name.
 o getRelation()
Get Relation reference of this component
 o setRelation(Relation)
Set Relation reference of this Component
 o toString()
Display Relation Component

Variables

 o rel
 Relation rel
Relation reference stored in MKB. I have stub class for it.

Constructors

 o Relation_Component
 public Relation_Component()
Default Constructor for Relation Component

 o Relation_Component
 public Relation_Component(Relation r,
                           boolean dis,
                           boolean rep)
Constructor for Relation Component for a Relation

Parameters:
r - the Relation of this component
dis - Dispensable
rep - Replaceable

Methods

 o getName
 public String getName()
get name. It's like "R"

 o setRelation
 public void setRelation(Relation r)
Set Relation reference of this Component

 o getRelation
 public Relation getRelation()
Get Relation reference of this component

 o toString
 public String toString()
Display Relation Component

Overrides:
toString in class Object
 o getISName
 public String getISName()
returns the IS name of this relation

 o getIS
 public IS getIS()
returns the IS object of this relation

 o clone
 public Object clone()
Clone the Relation_Component.

Overrides:
clone in class View_Component

All Packages  Class Hierarchy  This Package  Previous  Next  Index