es.cesar.quitesleep.beans
Class BCBean

java.lang.Object
  extended by es.cesar.quitesleep.beans.BCBean

public class BCBean
extends java.lang.Object

Bean for include data regarding contact used and if is blocked or not.

Author:
Cesar Valiente Gordo

Constructor Summary
BCBean()
          Empty constructor
BCBean(boolean isBlocked, Contact usedContact)
          Constructor with all parameters.
 
Method Summary
 Contact getUsedContact()
           
 boolean isBlocked()
           
 void setBlocked(boolean isBlocked)
           
 void setUsedContact(Contact usedContact)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BCBean

public BCBean()
Empty constructor


BCBean

public BCBean(boolean isBlocked,
              Contact usedContact)
Constructor with all parameters.

Parameters:
isBlocked -
usedContact -
Method Detail

isBlocked

public boolean isBlocked()

setBlocked

public void setBlocked(boolean isBlocked)

getUsedContact

public Contact getUsedContact()

setUsedContact

public void setUsedContact(Contact usedContact)

toString

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