cvm.model.handlers.schema.data
Class DataSchema

java.lang.Object
  extended by cvm.model.handlers.schema.data.DataSchema

public class DataSchema
extends java.lang.Object

This class is the object representation of the data schema. This is used in the system rather than the text representation of it.

Author:
Eddie Incer

Constructor Summary
DataSchema()
           
DataSchema(java.lang.String connID)
           
DataSchema(java.lang.String connID, java.lang.String commID)
           
 
Method Summary
 void addFormDataType(DataFormDataType type)
          Adds a formDataType to the list of formDataTypes.
 void addMediumType(DataMediumDataType type)
          Adds a mediumType to the list of mediumTypes.
 boolean equals(java.lang.Object obj)
          Overrides the equals method for this object.
 java.lang.String getConnectionID()
          Get the value of connectionID.
 java.util.ArrayList<DataFormDataType> getFormDataTypes()
          Returns the formDataTypes list
 java.util.ArrayList<DataMediumDataType> getMediumDataTypes()
          Returns the mediumDataTypes list
 void setConnectionID(java.lang.String str)
          Set the value of connectionID.
 void setformDataTypes(java.util.ArrayList<DataFormDataType> types)
          Set the formDataTypes
 void setMediumTypes(java.util.ArrayList<DataMediumDataType> types)
          Set the mediumDataTypes
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataSchema

public DataSchema()

DataSchema

public DataSchema(java.lang.String connID)

DataSchema

public DataSchema(java.lang.String connID,
                  java.lang.String commID)
Method Detail

getConnectionID

public java.lang.String getConnectionID()
Get the value of connectionID.

Returns:
value of 'connectionID'

setConnectionID

public void setConnectionID(java.lang.String str)
Set the value of connectionID.

Parameters:
str - new value for connectionID.

addMediumType

public void addMediumType(DataMediumDataType type)
Adds a mediumType to the list of mediumTypes.

Parameters:
type -

setMediumTypes

public void setMediumTypes(java.util.ArrayList<DataMediumDataType> types)
Set the mediumDataTypes

Parameters:
types -

getMediumDataTypes

public java.util.ArrayList<DataMediumDataType> getMediumDataTypes()
Returns the mediumDataTypes list

Returns:
medium list

addFormDataType

public void addFormDataType(DataFormDataType type)
Adds a formDataType to the list of formDataTypes.

Parameters:
type -

setformDataTypes

public void setformDataTypes(java.util.ArrayList<DataFormDataType> types)
Set the formDataTypes

Parameters:
types -

getFormDataTypes

public java.util.ArrayList<DataFormDataType> getFormDataTypes()
Returns the formDataTypes list

Returns:
form list

equals

public boolean equals(java.lang.Object obj)
Overrides the equals method for this object.

Overrides:
equals in class java.lang.Object