DSRG.VKB
Class Relation_Component

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

public class Relation_Component
extends View_Component
implements java.io.Serializable, java.lang.Cloneable

It's the relation component. It's a part of FROM clause.

See Also:
Serialized Form

Field Summary
(package private)  Relation rel
          Relation reference stored in MKB.
 
Fields inherited from class DSRG.VKB.View_Component
Dispensable, Replaceable
 
Constructor Summary
Relation_Component()
          Default Constructor for Relation Component
Relation_Component(Relation r, boolean dis, boolean rep)
          Constructor for Relation Component for a Relation
 
Method Summary
 java.lang.Object clone()
          Clone the Relation_Component.
 IS getIS()
          returns the IS object of this relation
 java.lang.String getISName()
          returns the IS name of this relation
 java.lang.String getName()
          get name.
 Relation getRelation()
          Get Relation reference of this component
 void setRelation(Relation r)
          Set Relation reference of this Component
 java.lang.String toString()
          Display Relation Component
 
Methods inherited from class DSRG.VKB.View_Component
displayEvolvingParameter, getDispensable, getReplaceable, setDispensable, setReplaceable
 
Methods inherited from class java.lang.Object
, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

rel

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

Relation_Component

public Relation_Component()
Default Constructor for Relation Component

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
Method Detail

getName

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

setRelation

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

getRelation

public Relation getRelation()
Get Relation reference of this component

toString

public java.lang.String toString()
Display Relation Component
Overrides:
toString in class java.lang.Object

getISName

public java.lang.String getISName()
returns the IS name of this relation

getIS

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

clone

public java.lang.Object clone()
Clone the Relation_Component.
Overrides:
clone in class View_Component