DSRG.VKB
Class View_Component

java.lang.Object
  |
  +--DSRG.VKB.View_Component
Direct Known Subclasses:
Attribute_Component, Condition_Component, Relation_Component

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

It's a abstract class of Attribute, Relation and Condition. It's the View Component Class.

See Also:
Serialized Form

Field Summary
 boolean Dispensable
          Evolution parameter.
 boolean Replaceable
          Evolution parameter.
 
Constructor Summary
View_Component()
          Default constructor
 
Method Summary
abstract  java.lang.Object clone()
          Clone the View_Component
(package private)  java.lang.String displayEvolvingParameter(java.lang.String disp, java.lang.String repl)
          Display evolving parameter.
 boolean getDispensable()
          Return the Dispensable-Parameter of this View_Component.
 boolean getReplaceable()
          Return the Replaceable-Parameter of this View_Component.
 void setDispensable(boolean value)
          Set the Dispensable-Parameter of this View_Component.
 void setReplaceable(boolean value)
          Set the Replaceable-Parameter of this View_Component.
 
Methods inherited from class java.lang.Object
, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

Dispensable

public boolean Dispensable
Evolution parameter. True: component can be dropped, False: cannot be dropped.

Replaceable

public boolean Replaceable
Evolution parameter. True: component can be replaced, False: cannot be replaced.
Constructor Detail

View_Component

public View_Component()
Default constructor
Method Detail

setDispensable

public void setDispensable(boolean value)
Set the Dispensable-Parameter of this View_Component.

getDispensable

public boolean getDispensable()
Return the Dispensable-Parameter of this View_Component.

setReplaceable

public void setReplaceable(boolean value)
Set the Replaceable-Parameter of this View_Component.

getReplaceable

public boolean getReplaceable()
Return the Replaceable-Parameter of this View_Component.

displayEvolvingParameter

java.lang.String displayEvolvingParameter(java.lang.String disp,
                                          java.lang.String repl)
Display evolving parameter. We show all the parameters.
Parameters:
disp - Name of dispensable, e.g. "AD", "CD", "RD"
repl - Name of replaceable, e.g. "AR", "CR", "RR"

clone

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