Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

sync4j.framework.core
Class SyncType  view SyncType download SyncType.java

java.lang.Object
  extended bysync4j.framework.core.SyncType

public final class SyncType
extends java.lang.Object

corresponds to <SyncType> tag in SyncML devinfo DTD

Version:
$Id: SyncType.java,v 1.2 2003/02/25 10:59:08 stefano_fornari Exp $

Field Summary
private  int m_iNumericCode
           
private  java.lang.String m_strName
           
static SyncType ONE_WAY_FROM_CLIENT
           
static SyncType ONE_WAY_FROM_SERVER
           
static SyncType REFRESH_FROM_CLIENT
           
static SyncType REFRESH_FROM_SERVER
           
static SyncType SERVER_ALERTED
           
static SyncType SLOW
           
static SyncType TWO_WAY
           
 
Constructor Summary
private SyncType(java.lang.String strName, int iNumericCode)
           
 
Method Summary
static SyncType getInstance(int iCode)
           
 java.lang.String getName()
           
 int getNumericCode()
           
(package private)  java.lang.String toXML()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_strName

private java.lang.String m_strName

m_iNumericCode

private int m_iNumericCode

TWO_WAY

public static final SyncType TWO_WAY

SLOW

public static final SyncType SLOW

ONE_WAY_FROM_CLIENT

public static final SyncType ONE_WAY_FROM_CLIENT

REFRESH_FROM_CLIENT

public static final SyncType REFRESH_FROM_CLIENT

ONE_WAY_FROM_SERVER

public static final SyncType ONE_WAY_FROM_SERVER

REFRESH_FROM_SERVER

public static final SyncType REFRESH_FROM_SERVER

SERVER_ALERTED

public static final SyncType SERVER_ALERTED
Constructor Detail

SyncType

private SyncType(java.lang.String strName,
                 int iNumericCode)
Method Detail

getName

public java.lang.String getName()

getNumericCode

public int getNumericCode()

toXML

java.lang.String toXML()

getInstance

public static final SyncType getInstance(int iCode)