cvm.model.handlers.schema.control
Class ConnectionFormType

java.lang.Object
  extended by cvm.model.handlers.schema.control.ConnectionFormType

public class ConnectionFormType
extends java.lang.Object

FormType representation.

Author:
Frank Hernandez

Constructor Summary
ConnectionFormType(java.lang.String name, java.lang.String app, java.lang.String command, java.lang.String act)
           
 
Method Summary
 void addMediumDataType(ConnectionMediumDataTypes data)
          Ads a new mediumdataType to the form.
 boolean equals(java.lang.Object obj)
          Used for comparing Form Types.
 java.lang.String getAction()
          Get the value of action.
 java.lang.String getFormTypeName()
          Get the formTypeName for this form.
 java.util.ArrayList<ConnectionMediumDataTypes> getMediumDataType()
          Get the mediumDataTypes list.
 java.lang.String getSuggestedApplication()
          Get teh value for suggestedApplication
 java.lang.String getVoiceCommand()
          Get voiceCommand value.
 void setAction(java.lang.String str)
          Set the value of action.
 void setFormTypeName(java.lang.String name)
          Set a fromTypeName
 void setMediumDataType(java.util.ArrayList<ConnectionMediumDataTypes> dataTypes)
          Updates the mediumDataTypes list.
 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

ConnectionFormType

public ConnectionFormType(java.lang.String name,
                          java.lang.String app,
                          java.lang.String command,
                          java.lang.String act)
Method Detail

addMediumDataType

public void addMediumDataType(ConnectionMediumDataTypes data)
Ads a new mediumdataType to the form.

Parameters:
data - mediumDataType to add.
See Also:
ConnectionMediumDataTypes

setMediumDataType

public void setMediumDataType(java.util.ArrayList<ConnectionMediumDataTypes> dataTypes)
Updates the mediumDataTypes list.

Parameters:
dataTypes - new list to update mediumDataTypes with.

getMediumDataType

public java.util.ArrayList<ConnectionMediumDataTypes> getMediumDataType()
Get the mediumDataTypes list.

Returns:
list of mediumDataTypes
See Also:
ConnectionMediumDataTypes

getFormTypeName

public java.lang.String getFormTypeName()
Get the formTypeName for this form.

Returns:
name of the form type.

setFormTypeName

public void setFormTypeName(java.lang.String name)
Set a fromTypeName

Parameters:
name - new name to updte with.

getSuggestedApplication

public java.lang.String getSuggestedApplication()
Get teh 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.

equals

public boolean equals(java.lang.Object obj)
Used for comparing Form Types.

Overrides:
equals in class java.lang.Object