oracle.sdp.messaging.userprefs
Interface UserPrefsObject
- All Superinterfaces:
- Serializable
- All Known Subinterfaces:
- DeviceAddress, RuleSet, UserDevice, UserRuleSet
public interface UserPrefsObject
- extends Serializable
This is the base class for ruleSet, DeviceAddress, and UserDevice.
It is used for tracking the modifications, and versioning. It is also used for
flagging a particular instance as valid at any point of time.
getCreatedDate
Date getCreatedDate()
- Returns:
- the date when the object has been created
getDescription
java.lang.String getDescription()
- Returns:
- the description
getLastModifiedDate
Date getLastModifiedDate()
- Returns:
- the date when the object has been modified
getPrefsObjectType
UserPrefsObject.PrefsObjectType getPrefsObjectType()
getVersion
java.lang.Long getVersion()
- Returns:
- the current version number
isValid
boolean isValid()
- Returns:
- boolean value indicating whether the object is usable
setDescription
void setDescription(java.lang.String desc)
- Parameters:
description
- to be set
setValid
void setValid(boolean valid)
Copyright © 2009, 2011 Oracle and/or its affiliates. All rights reserved.