cvm.model.handlers.schema.negotiation
Class NegotiationSchema

java.lang.Object
  extended by cvm.model.handlers.schema.negotiation.NegotiationSchema

public class NegotiationSchema
extends java.lang.Object

The negotiation schema encapsulate the control schema for negotiation purposes. Date: 06/09/08

Author:
Frank Hernandez

Constructor Summary
NegotiationSchema(ControlSchema schema)
           
NegotiationSchema(java.lang.String ini, java.lang.String negAct, java.lang.String sender, ControlSchema schema)
           
NegotiationSchema(java.lang.String ini, java.lang.String negAct, java.lang.String sender, DataSchema schema)
           
 
Method Summary
 ControlSchema getControlSchema()
          Returns the value of controlSchema.
 DataSchema getDataSchema()
          Get the value od dataSchema
 java.lang.String getInitiator()
          Returns the value of initiator.
 java.lang.String getNegotiationAction()
          Returns the value of negotiationAction.
 java.lang.String getSchemaSender()
          Gets the value of schemaSender.
 void setControlSchema(ControlSchema schema)
          Sets the value of controlSchema.
 void setDataSchema(DataSchema dataSchema)
          Set the value of dataSchema.
 void setInitiator(java.lang.String str)
          Sets the value of initiator.
 void setNegotiationAction(java.lang.String str)
          Sets the value of negotiationAction.
 void setSchemaSender(java.lang.String schemaSender)
          Sets the value of schemaSender.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NegotiationSchema

public NegotiationSchema(java.lang.String ini,
                         java.lang.String negAct,
                         java.lang.String sender,
                         ControlSchema schema)

NegotiationSchema

public NegotiationSchema(java.lang.String ini,
                         java.lang.String negAct,
                         java.lang.String sender,
                         DataSchema schema)

NegotiationSchema

public NegotiationSchema(ControlSchema schema)
Method Detail

getInitiator

public java.lang.String getInitiator()
Returns the value of initiator.

Returns:
initiator

setInitiator

public void setInitiator(java.lang.String str)
Sets the value of initiator.

Parameters:
str -

getNegotiationAction

public java.lang.String getNegotiationAction()
Returns the value of negotiationAction.

Returns:
negotiation action

setNegotiationAction

public void setNegotiationAction(java.lang.String str)
Sets the value of negotiationAction.

Parameters:
str -

getControlSchema

public ControlSchema getControlSchema()
Returns the value of controlSchema.

Returns:
ControlSchema

setControlSchema

public void setControlSchema(ControlSchema schema)
Sets the value of controlSchema.

Parameters:
schema -

getSchemaSender

public java.lang.String getSchemaSender()
Gets the value of schemaSender.


setSchemaSender

public void setSchemaSender(java.lang.String schemaSender)
Sets the value of schemaSender.

Parameters:
schemaSender -

getDataSchema

public DataSchema getDataSchema()
Get the value od dataSchema

Returns:
dataSchema

setDataSchema

public void setDataSchema(DataSchema dataSchema)
Set the value of dataSchema.

Parameters:
dataSchema -