com.funambol.syncml.client
Class OTAConfigMessage

java.lang.Object
  extended by com.funambol.syncml.client.OTAConfigMessage

public class OTAConfigMessage
extends java.lang.Object

Class handling properties of an OTA Configuration Message coming from the server


Field Summary
static int BRIEFCASE
          The BRIEFCASE section id
static int CALENDAR
          The CALENDAR section id
static int CONTACT
          The CONTACT section id
static int MAIL
          The MAIL section id
static int NOTE
          The NOTE section id
static int SOURCE_NUMBER
           
static int SYNCML
          The SyncML section id
static int TASK
          The TASK section id
 
Constructor Summary
OTAConfigMessage()
          Creates a new instance of OTAConfigMessage
OTAConfigMessage(java.lang.String userName, java.lang.String password, java.lang.String syncUrl, java.lang.String visibleName, java.lang.String mailAddress, java.lang.String[] remoteURIs)
          Creates a new instance of OTAConfigMessage
 
Method Summary
 java.lang.String getMailAddress()
           
 java.lang.String getPassword()
           
 java.lang.String getRemoteUri(int sourceId)
          Returns the remote URI for the specified source
 java.lang.String[] getRemoteURIs()
           
 java.lang.String getSyncUrl()
           
 java.lang.String getUserName()
           
 java.lang.String getVisibleName()
           
 void setMailAddress(java.lang.String mailAddress)
           
 void setPassword(java.lang.String password)
           
 void setRemoteURIs(java.lang.String[] remoteURIs)
           
 void setSyncUrl(java.lang.String syncUrl)
           
 void setUserName(java.lang.String userName)
           
 void setVisibleName(java.lang.String visibleName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SYNCML

public static final int SYNCML
The SyncML section id

See Also:
Constant Field Values

MAIL

public static final int MAIL
The MAIL section id

See Also:
Constant Field Values

CONTACT

public static final int CONTACT
The CONTACT section id

See Also:
Constant Field Values

CALENDAR

public static final int CALENDAR
The CALENDAR section id

See Also:
Constant Field Values

TASK

public static final int TASK
The TASK section id

See Also:
Constant Field Values

NOTE

public static final int NOTE
The NOTE section id

See Also:
Constant Field Values

BRIEFCASE

public static final int BRIEFCASE
The BRIEFCASE section id

See Also:
Constant Field Values

SOURCE_NUMBER

public static final int SOURCE_NUMBER
See Also:
Constant Field Values
Constructor Detail

OTAConfigMessage

public OTAConfigMessage()
Creates a new instance of OTAConfigMessage


OTAConfigMessage

public OTAConfigMessage(java.lang.String userName,
                        java.lang.String password,
                        java.lang.String syncUrl,
                        java.lang.String visibleName,
                        java.lang.String mailAddress,
                        java.lang.String[] remoteURIs)
Creates a new instance of OTAConfigMessage

Method Detail

getUserName

public java.lang.String getUserName()

setUserName

public void setUserName(java.lang.String userName)

getSyncUrl

public java.lang.String getSyncUrl()

setSyncUrl

public void setSyncUrl(java.lang.String syncUrl)

getPassword

public java.lang.String getPassword()

setPassword

public void setPassword(java.lang.String password)

getVisibleName

public java.lang.String getVisibleName()

setVisibleName

public void setVisibleName(java.lang.String visibleName)

getMailAddress

public java.lang.String getMailAddress()

setMailAddress

public void setMailAddress(java.lang.String mailAddress)

getRemoteURIs

public java.lang.String[] getRemoteURIs()

setRemoteURIs

public void setRemoteURIs(java.lang.String[] remoteURIs)

getRemoteUri

public java.lang.String getRemoteUri(int sourceId)
Returns the remote URI for the specified source

Parameters:
sourceId - one of the sourceId defined in this class


Copyright © 2001-2009 Funambol.