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.
-
rel
- Relation reference stored in MKB.
-
Relation_Component()
- Default Constructor for Relation Component
-
Relation_Component(Relation, boolean, boolean)
- Constructor for Relation Component for a Relation
-
clone()
- Clone the Relation_Component.
-
getIS()
- returns the IS object of this relation
-
getISName()
- returns the IS name of this relation
-
getName()
- get name.
-
getRelation()
- Get Relation reference of this component
-
setRelation(Relation)
- Set Relation reference of this Component
-
toString()
- Display Relation Component
rel
Relation rel
- Relation reference stored in MKB.
I have stub class for it.
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
getName
public 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 String toString()
- Display Relation Component
- Overrides:
- toString in class Object
getISName
public String getISName()
- returns the IS name of this relation
getIS
public IS getIS()
- returns the IS object of this relation
clone
public Object clone()
- Clone the Relation_Component.
- Overrides:
- clone in class View_Component
All Packages Class Hierarchy This Package Previous Next Index