cvm.model.handlers.schema.data
Class DataFormDataType

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

public class DataFormDataType
extends java.lang.Object

Object rerpesentation of the Data Schema formDataType

Author:
Eddie Incer

Constructor Summary
DataFormDataType(java.lang.String type, java.lang.String id, java.lang.String app, java.lang.String command, java.lang.String act)
           
 
Method Summary
 void addMediumType(DataMediumDataType type)
          Adds a mediumType to the list of mediumTypes.
 boolean equals(java.lang.Object obj)
           
 java.lang.String getAction()
          Get the value of action.
 java.lang.String getFormDataType()
          Get the value of formDataType.
 java.lang.String getFormID()
          Get the value of formID.
 java.util.ArrayList<DataMediumDataType> getMediumDataTypes()
          Returns the mediumDataTypes list
 java.lang.String getSuggestedApplication()
          Get the value for suggestedApplication
 java.lang.String getVoiceCommand()
          Get voiceCommand value.
 void setAction(java.lang.String str)
          Set the value of action.
 void setFormDataType(java.lang.String str)
          Set the value of formDataType.
 void setFormID(java.lang.String str)
          Set the value of formID.
 void setMediumTypes(java.util.ArrayList<DataMediumDataType> types)
          Set the mediumDataTypes
 void setSuggestedApplication(java.lang.String app)
          Set the name of suggesteddApplication
 void setVoiceCommand(java.lang.String str)
          Sets teh value of voiceCommand
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataFormDataType

public DataFormDataType(java.lang.String type,
                        java.lang.String id,
                        java.lang.String app,
                        java.lang.String command,
                        java.lang.String act)
Method Detail

getFormDataType

public java.lang.String getFormDataType()
Get the value of formDataType.

Returns:
value of 'formDataType'

setFormDataType

public void setFormDataType(java.lang.String str)
Set the value of formDataType.

Parameters:
str - new value for formDataType.

getFormID

public java.lang.String getFormID()
Get the value of formID.

Returns:
value of 'formID'

setFormID

public void setFormID(java.lang.String str)
Set the value of formID.

Parameters:
str - new value for formID.

getSuggestedApplication

public java.lang.String getSuggestedApplication()
Get the value for suggestedApplication

Returns:
value of suggestedApplication

setSuggestedApplication

public void setSuggestedApplication(java.lang.String app)
Set the name of suggesteddApplication

Parameters:
app -

getVoiceCommand

public java.lang.String getVoiceCommand()
Get voiceCommand value.

Returns:
value of voiceCommand

setVoiceCommand

public void setVoiceCommand(java.lang.String str)
Sets teh value of voiceCommand

Parameters:
str - new value for voiceCommand

getAction

public java.lang.String getAction()
Get the value of action.

Returns:
value of 'action'

setAction

public void setAction(java.lang.String str)
Set the value of action.

Parameters:
str - new value for action.

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:
list of medium types

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object