DSRG.VSA
Class Schema_Change

java.lang.Object
  |
  +--DSRG.VSA.Schema_Change

public class Schema_Change
extends java.lang.Object
implements java.io.Serializable

It represents a schema change at the Information Source. It will be generated by GISL(Glocal IS Layer). It will be sent to VSA.

I set all the attributes in this Schema_Change public. I think this class only like structor. It will be only used in VSA and GISL. It will use different combinations of public attributes to show different change.

Change Status
SE Attributes
Add Attribute type, IS_name, Rel_name, Attr_name
Change Attribute Name type, IS_name, Rel_name, Attr_name, new_name
Delete Attribute type, IS_name, Rel_name, Attr_name
Add Relation type, IS_name, Rel_name
Change Relation Name type, IS_name, Rel_name, new_name
Delete Attribute type, IS_name, Rel_name

See Also:
Serialized Form

Field Summary
static int ADD_ATT
          Add Attribute Schema Change.
static int ADD_REL
          Add Relation Schema Change.
 java.lang.String Attr_name
          Attribute name of this Change
static int CHG_ATT
          Change Attribute Name Schema Change.
static int CHG_REL
          Change Relation Name Schema Change.
static int DEL_ATT
          Delete Attribute Schema Change.
static int DEL_REL
          Delete Relation Schema Change.
 java.lang.String IS_name
          Information source name of this Change
 java.lang.String new_name
          New name of relaiton of attribute
 java.lang.String Rel_name
          Relation name of this Change
 int type
          Current Type of this Change
 
Constructor Summary
Schema_Change(int tp, java.lang.String is, java.lang.String rel)
          Constructor of Add/Del Relation Change
Schema_Change(int tp, java.lang.String is, java.lang.String rel, java.lang.String attr)
          Constructor of Add/Del Attribute Change
Schema_Change(java.lang.String is, java.lang.String rel, java.lang.String name)
          Constructor of Change Relation Change
Schema_Change(java.lang.String is, java.lang.String rel, java.lang.String attr, java.lang.String name)
          Constructor of Change Attribute Change
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

ADD_ATT

public static final int ADD_ATT
Add Attribute Schema Change.

CHG_ATT

public static final int CHG_ATT
Change Attribute Name Schema Change.

DEL_ATT

public static final int DEL_ATT
Delete Attribute Schema Change.

ADD_REL

public static final int ADD_REL
Add Relation Schema Change.

CHG_REL

public static final int CHG_REL
Change Relation Name Schema Change.

DEL_REL

public static final int DEL_REL
Delete Relation Schema Change.

type

public int type
Current Type of this Change

IS_name

public java.lang.String IS_name
Information source name of this Change

Rel_name

public java.lang.String Rel_name
Relation name of this Change

Attr_name

public java.lang.String Attr_name
Attribute name of this Change

new_name

public java.lang.String new_name
New name of relaiton of attribute
Constructor Detail

Schema_Change

public Schema_Change(int tp,
                     java.lang.String is,
                     java.lang.String rel)
Constructor of Add/Del Relation Change

Schema_Change

public Schema_Change(int tp,
                     java.lang.String is,
                     java.lang.String rel,
                     java.lang.String attr)
Constructor of Add/Del Attribute Change

Schema_Change

public Schema_Change(java.lang.String is,
                     java.lang.String rel,
                     java.lang.String attr,
                     java.lang.String name)
Constructor of Change Attribute Change

Schema_Change

public Schema_Change(java.lang.String is,
                     java.lang.String rel,
                     java.lang.String name)
Constructor of Change Relation Change