es.cesar.quitesleep.beans
Class BCBean
java.lang.Object
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BCBean
public BCBean()
- Empty constructor
BCBean
public BCBean(boolean isBlocked,
Contact usedContact)
- Constructor with all parameters.
- Parameters:
isBlocked
- usedContact
-
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