Package com.proxemo.todo4.bom
Class ToDoSmsFetcher
- java.lang.Object
-
- com.proxemo.todo4.bom.ToDoVersionedIdentifiable
-
- com.proxemo.todo4.bom.ToDoSmsFetcher
-
- All Implemented Interfaces:
java.io.Serializable
public class ToDoSmsFetcher extends ToDoVersionedIdentifiable implements java.io.Serializable
represents a sms account to read incoming sms from- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ToDoSmsFetcher()ToDoSmsFetcher(boolean b)ToDoSmsFetcher(ToDoSmsFetcher smsfetcher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidanonymize()java.lang.StringgetFooter()java.lang.LonggetId()Method returning a canonical id of the object.java.lang.StringgetLogin()intgetMinutes()ToDoUsergetOwner()java.lang.StringgetPassword()intgetPrio()java.lang.StringgetReceiver()java.lang.StringgetScript()java.lang.StringgetServerUrl()com.proxemo.todo4.smsfetcher.SmsServicegetService()java.lang.StringgetSmsProperties()ToDoWorkGroupgetTargetWorkgroup()java.lang.IntegergetVersion()Method returning the version of the instancejava.lang.BooleanisActive()Method that returns whether the instance is active or not (means: logically deleted)voidsetActive(java.lang.Boolean active)Method setting the active flag.voidsetFooter(java.lang.String footer)voidsetId(java.lang.Long id)Method setting the canonical id of the object.voidsetInactive()Method to delete an object logically.voidsetLogin(java.lang.String login)voidsetMinutes(int minutes)voidsetOwner(ToDoUser owner)voidsetPassword(java.lang.String password)voidsetPrio(int prio)voidsetReceiver(java.lang.String receiver)voidsetScript(java.lang.String script)voidsetServerUrl(java.lang.String serverUrl)voidsetService(com.proxemo.todo4.smsfetcher.SmsService service)voidsetSmsProperties(java.lang.String smsProperties)voidsetTargetWorkgroup(ToDoWorkGroup group)voidsetToActive()Method to undelete an object logically.voidsetVersion(java.lang.Integer version)Method setting the version of the instance, Should under normal circumstances not be manually invoked.java.lang.StringtoString()-
Methods inherited from class com.proxemo.todo4.bom.ToDoVersionedIdentifiable
areEqual, getActiveAsIcon, getAnonymizeString, getCanonicalId, isTransient, setToTransient
-
-
-
-
Constructor Detail
-
ToDoSmsFetcher
public ToDoSmsFetcher()
-
ToDoSmsFetcher
public ToDoSmsFetcher(ToDoSmsFetcher smsfetcher)
-
ToDoSmsFetcher
public ToDoSmsFetcher(boolean b)
-
-
Method Detail
-
getFooter
public java.lang.String getFooter()
-
setFooter
public void setFooter(java.lang.String footer)
-
getTargetWorkgroup
public ToDoWorkGroup getTargetWorkgroup()
-
setTargetWorkgroup
public void setTargetWorkgroup(ToDoWorkGroup group)
-
getLogin
public java.lang.String getLogin()
-
setLogin
public void setLogin(java.lang.String login)
-
getMinutes
public int getMinutes()
-
setMinutes
public void setMinutes(int minutes)
-
getOwner
public ToDoUser getOwner()
-
setOwner
public void setOwner(ToDoUser owner)
-
getPassword
public java.lang.String getPassword()
-
setPassword
public void setPassword(java.lang.String password)
-
getReceiver
public java.lang.String getReceiver()
-
setReceiver
public void setReceiver(java.lang.String receiver)
-
getServerUrl
public java.lang.String getServerUrl()
-
setServerUrl
public void setServerUrl(java.lang.String serverUrl)
-
getPrio
public int getPrio()
-
setPrio
public void setPrio(int prio)
-
getScript
public java.lang.String getScript()
-
setScript
public void setScript(java.lang.String script)
-
getId
public java.lang.Long getId()
Description copied from class:ToDoVersionedIdentifiableMethod returning a canonical id of the object. Transient objects return -1;- Specified by:
getIdin classToDoVersionedIdentifiable- Returns:
- id the id of the object. Id is canonical for all instances of a class.
-
setId
public void setId(java.lang.Long id)
Description copied from class:ToDoVersionedIdentifiableMethod setting the canonical id of the object. Should under normal circumstances not be manually invoked.- Specified by:
setIdin classToDoVersionedIdentifiable- Parameters:
id- id of the object
-
getVersion
public java.lang.Integer getVersion()
Description copied from class:ToDoVersionedIdentifiableMethod returning the version of the instance- Specified by:
getVersionin classToDoVersionedIdentifiable- Returns:
- the version
-
setVersion
public void setVersion(java.lang.Integer version)
Description copied from class:ToDoVersionedIdentifiableMethod setting the version of the instance, Should under normal circumstances not be manually invoked.- Specified by:
setVersionin classToDoVersionedIdentifiable- Parameters:
version- of the object
-
isActive
public java.lang.Boolean isActive()
Description copied from class:ToDoVersionedIdentifiableMethod that returns whether the instance is active or not (means: logically deleted)- Specified by:
isActivein classToDoVersionedIdentifiable- Returns:
- boolean whether the object is active
-
setActive
public void setActive(java.lang.Boolean active)
Description copied from class:ToDoVersionedIdentifiableMethod setting the active flag. Invoking this method with false logically deletes the instance in the database.- Specified by:
setActivein classToDoVersionedIdentifiable- Parameters:
active- is the object active or not
-
setToActive
public void setToActive()
Description copied from class:ToDoVersionedIdentifiableMethod to undelete an object logically.- Specified by:
setToActivein classToDoVersionedIdentifiable
-
setInactive
public void setInactive()
Description copied from class:ToDoVersionedIdentifiableMethod to delete an object logically.- Specified by:
setInactivein classToDoVersionedIdentifiable
-
anonymize
public void anonymize()
- Specified by:
anonymizein classToDoVersionedIdentifiable
-
getSmsProperties
public java.lang.String getSmsProperties()
-
setSmsProperties
public void setSmsProperties(java.lang.String smsProperties)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getService
public com.proxemo.todo4.smsfetcher.SmsService getService()
-
setService
public void setService(com.proxemo.todo4.smsfetcher.SmsService service)
-
-