Package org.cyclos.entities.messaging
Class BaseSms
- java.lang.Object
-
- org.cyclos.entities.SimpleEntity
-
- org.cyclos.entities.NetworkedEntity
-
- org.cyclos.entities.messaging.BaseSms
-
- All Implemented Interfaces:
Cloneable,HasNetwork,ProcessableForProxying,DefinesNetwork,IEntity
- Direct Known Subclasses:
InboundSms,OutboundSms
@MappedSuperclass public abstract class BaseSms extends NetworkedEntity implements DefinesNetwork
Base class for SMS logs
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cyclos.entities.SimpleEntity
SimpleEntity.EntityLoadNotifier
-
-
Constructor Summary
Constructors Constructor Description BaseSms()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetConfigurationId()DategetDate()StringgetMessage()NetworkgetNetwork()Returns the network this entity belongs toStringgetPhoneNumber()BasicUsergetUser()voidsetConfigurationId(Long configurationId)voidsetDate(Date date)voidsetMessage(String message)voidsetNetwork(Network network)voidsetPhoneNumber(String phoneNumber)voidsetUser(BasicUser user)-
Methods inherited from class org.cyclos.entities.NetworkedEntity
isGlobal
-
Methods inherited from class org.cyclos.entities.SimpleEntity
equals, getId, hashCode, id, ids, isPersistent, isTransient, register, setId, toShortString, toString, uniqueIds, uniqueIds
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.entities.ProcessableForProxying
getProxyClass
-
-
-
-
Method Detail
-
getConfigurationId
public Long getConfigurationId()
-
getDate
public Date getDate()
-
getMessage
public String getMessage()
-
getNetwork
public Network getNetwork()
Description copied from interface:HasNetworkReturns the network this entity belongs to- Specified by:
getNetworkin interfaceHasNetwork
-
getPhoneNumber
public String getPhoneNumber()
-
getUser
public BasicUser getUser()
-
setConfigurationId
public void setConfigurationId(Long configurationId)
-
setDate
public void setDate(Date date)
-
setMessage
public void setMessage(String message)
-
setNetwork
public void setNetwork(Network network)
- Specified by:
setNetworkin interfaceDefinesNetwork
-
setPhoneNumber
public void setPhoneNumber(String phoneNumber)
-
setUser
public void setUser(BasicUser user)
-
-