Oracle Fusion Middleware User Messaging Service 11.1.1.7.0 Java API Reference
E14011-05

oracle.sdp.messaging.userprefs
Interface DeviceAddress

All Superinterfaces:
Serializable, UserPrefsObject

public interface DeviceAddress
extends UserPrefsObject

This interface represents the physical device. Its key property is the 'address'.


Nested Class Summary
 
Nested classes/interfaces inherited from interface oracle.sdp.messaging.userprefs.UserPrefsObject
UserPrefsObject.PrefsObjectType
 
Method Summary
 java.lang.String getAddress()
           
 java.lang.String getCarrier()
           
 DeliveryType getDeliveryType()
           
 java.lang.String getEncoding()
           
 java.lang.String getId()
           
 UserDevice getUserDevice()
           
 boolean isDefault()
           
 void setAddress(java.lang.String addr)
           
 void setCarrier(java.lang.String carrier)
           
 void setDefault(boolean flag)
           
 void setDeliveryType(DeliveryType deliveryType)
           
 void setEncoding(java.lang.String encoding)
           
 java.lang.String toExternalFormat()
           
 org.w3c.dom.Element toXML(org.w3c.dom.Document doc)
           
 
Methods inherited from interface oracle.sdp.messaging.userprefs.UserPrefsObject
getCreatedDate, getDescription, getLastModifiedDate, getPrefsObjectType, getVersion, isValid, setDescription, setValid
 

Method Detail

getId

java.lang.String getId()
Returns:
the unique device address id which uniquely identifies this object

getUserDevice

UserDevice getUserDevice()
Returns:
the user device the address belongs to

getAddress

java.lang.String getAddress()
Returns:
the address

setAddress

void setAddress(java.lang.String addr)
Parameters:
addr - the address to be set

setDeliveryType

void setDeliveryType(DeliveryType deliveryType)
Parameters:
deliveryType - used to set the delivery type channel

isDefault

boolean isDefault()
Returns:
true if the address is the default one, false otherwise

setDefault

void setDefault(boolean flag)
Parameters:
flag - the value used to set the address to default

getDeliveryType

DeliveryType getDeliveryType()
Returns:
the delivery type

getCarrier

java.lang.String getCarrier()
Returns:
the userprefs carrier the address is registered to

setCarrier

void setCarrier(java.lang.String carrier)
Parameters:
carrier - the userprefs carrier to be set

getEncoding

java.lang.String getEncoding()
Returns:
the MIME encoding supported by this address

setEncoding

void setEncoding(java.lang.String encoding)
Parameters:
encoding - the MIME encoding to be set for this address

toExternalFormat

java.lang.String toExternalFormat()
Returns:
a String representation of this address

toXML

org.w3c.dom.Element toXML(org.w3c.dom.Document doc)

Oracle Fusion Middleware User Messaging Service 11.1.1.7.0 Java API Reference
E14011-05

Copyright © 2009, 2013 Oracle and/or its affiliates. All rights reserved.