Class SmsMessageVO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- org.cyclos.model.EntityVO
-
- org.cyclos.model.messaging.messages.SmsMessageVO
-
- All Implemented Interfaces:
Serializable,IEntity
- Direct Known Subclasses:
InboundSmsMessageVO,OutboundSmsMessageVO
public class SmsMessageVO extends EntityVO
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic BasicProperty<DateTime,SmsMessageVO>DATEstatic BasicProperty<String,SmsMessageVO>MESSAGEstatic BasicProperty<String,SmsMessageVO>PHONE_NUMBER-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
-
Constructor Summary
Constructors Constructor Description SmsMessageVO()SmsMessageVO(Long id)SmsMessageVO(Property<T,? super SmsMessageVO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()DateTimegetDate()StringgetMessage()StringgetPhoneNumber()voidsetDate(DateTime date)voidsetMessage(String message)voidsetPhoneNumber(String phoneNumber)-
Methods inherited from class org.cyclos.model.EntityModel
getId, setId, toString
-
Methods inherited from class org.cyclos.model.Bean
addPropertyChangeListener, addPropertyChangeListener, attributeNames, backup, changes, clearAttributes, copyPropertiesTo, copyPropertiesTo, copyPropertiesTo, dataAccessor, firePropertyChange, get, getAttribute, initDataAccessor, properties, property, propertyMap, removeAttribute, removePropertyChangeListener, removePropertyChangeListener, restore, set, set, setAttribute, setWithPropagationId, values
-
-
-
-
Field Detail
-
CLASS_NAME
public static final String CLASS_NAME
-
DATE
public static final BasicProperty<DateTime,SmsMessageVO> DATE
-
MESSAGE
public static final BasicProperty<String,SmsMessageVO> MESSAGE
-
PHONE_NUMBER
public static final BasicProperty<String,SmsMessageVO> PHONE_NUMBER
-
-
Constructor Detail
-
SmsMessageVO
public SmsMessageVO()
-
SmsMessageVO
public SmsMessageVO(Long id)
-
SmsMessageVO
public SmsMessageVO(Property<T,? super SmsMessageVO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classEntityModel
-
getDate
public DateTime getDate()
-
setDate
public void setDate(DateTime date)
-
getMessage
public String getMessage()
-
setMessage
public void setMessage(String message)
-
getPhoneNumber
public String getPhoneNumber()
-
setPhoneNumber
public void setPhoneNumber(String phoneNumber)
-
-