com.mymed.model.data.interaction
Class MInteractionBean

java.lang.Object
  extended by com.mymed.model.data.AbstractMBean
      extended by com.mymed.model.data.interaction.MInteractionBean

public class MInteractionBean
extends AbstractMBean

Author:
lvanni

Constructor Summary
MInteractionBean()
          Create a new empty MInteractionBean
 
Method Summary
 MInteractionBean clone()
           
 boolean equals(java.lang.Object obj)
           
 java.lang.String getApplication()
           
 java.lang.String getComplexInteraction()
           
 java.lang.String getConsumer()
           
 long getEnd()
           
 double getFeedback()
           
 java.lang.String getId()
           
 java.lang.String getProducer()
           
 int getSnooze()
           
 long getStart()
           
 int hashCode()
           
 void setApplication(java.lang.String application)
           
 void setComplexInteraction(java.lang.String complexInteraction)
           
 void setConsumer(java.lang.String consumer)
           
 void setEnd(long end)
           
 void setFeedback(double feedback)
           
 void setId(java.lang.String id)
           
 void setProducer(java.lang.String producer)
           
 void setSnooze(int snooze)
           
 void setStart(long start)
           
 java.lang.String toString()
           
 
Methods inherited from class com.mymed.model.data.AbstractMBean
getAttributeToMap
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MInteractionBean

public MInteractionBean()
Create a new empty MInteractionBean

Method Detail

clone

public MInteractionBean clone()
Overrides:
clone in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class AbstractMBean

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

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

getFeedback

public double getFeedback()
Returns:
the feedback associated with this interaction

setFeedback

public void setFeedback(double feedback)
Parameters:
feedback - the feedback to set for this interaction

getStart

public long getStart()
Returns:
the start date of the interaction

setStart

public void setStart(long start)
Parameters:
start - the start date of the interaction

getId

public java.lang.String getId()
Returns:
the id that identifies the interaction

setId

public void setId(java.lang.String id)
Parameters:
id - the id to set for this interaction

getApplication

public java.lang.String getApplication()
Returns:
the application used for the interaction

setApplication

public void setApplication(java.lang.String application)
Parameters:
application - the application used for the interaction

getProducer

public java.lang.String getProducer()
Returns:
the producer who provided the interaction

setProducer

public void setProducer(java.lang.String producer)
Parameters:
producer - the producer who provides the interaction

getConsumer

public java.lang.String getConsumer()
Returns:
the consumer who used the interaction

setConsumer

public void setConsumer(java.lang.String consumer)
Parameters:
consumer - the consumer who uses the interaction

getEnd

public long getEnd()
Returns:
the end date of the interaction

setEnd

public void setEnd(long end)
Parameters:
end - the end date of the interaction

getSnooze

public int getSnooze()
Returns:
the reminder of the interaction

setSnooze

public void setSnooze(int snooze)
Parameters:
snooze - the reminder for the interaction

getComplexInteraction

public java.lang.String getComplexInteraction()
Returns:
the complexInteraction

setComplexInteraction

public void setComplexInteraction(java.lang.String complexInteraction)
Parameters:
complexInteraction - the complexInteraction to set