Package org.javarosa.core.model
Class Constants
java.lang.Object
org.javarosa.core.model.Constants
public class Constants extends Object
Constants shared throughout classes in the containing package.
Where possible use
DataType instead of the DATATYPE_*
“int enum” fields.-
Field Summary
Fields Modifier and Type Field Description static intCONNECTION_BLUETOOTHBluetooth connectionstatic intCONNECTION_CABLEData cable connection.static intCONNECTION_INFRAREDInfrared connectionstatic intCONNECTION_NONEConnection type not specifiedstatic intCONNECTION_OTAOver The Air or HTTP Connectionstatic intCONTROL_AUDIO_CAPTUREstatic intCONTROL_FILE_CAPTUREgeneric uploadstatic intCONTROL_IMAGE_CHOOSEstatic intCONTROL_INPUTstatic intCONTROL_LABELstatic intCONTROL_OSM_CAPTUREstatic intCONTROL_RANGEstatic intCONTROL_RANKstatic intCONTROL_SECRETstatic intCONTROL_SELECT_MULTIstatic intCONTROL_SELECT_ONEstatic intCONTROL_SUBMITstatic intCONTROL_TEXTAREAstatic intCONTROL_TRIGGERstatic intCONTROL_UNTYPEDstatic intCONTROL_UPLOADstatic intCONTROL_VIDEO_CAPTUREstatic intDATATYPE_BARCODEstatic intDATATYPE_BINARYstatic intDATATYPE_BOOLEANstatic intDATATYPE_CHOICEstatic intDATATYPE_CHOICE_LISTThe same asDATATYPE_MULTIPLE_ITEMS(for backwards compatibility)static intDATATYPE_DATEstatic intDATATYPE_DATE_TIMEstatic intDATATYPE_DECIMALstatic intDATATYPE_GEOPOINTstatic intDATATYPE_GEOSHAPEstatic intDATATYPE_GEOTRACEstatic intDATATYPE_INTEGERstatic intDATATYPE_LONGstatic intDATATYPE_MULTIPLE_ITEMSA list of items used for selecting multiple answers or ordering themstatic intDATATYPE_NULLstatic intDATATYPE_TEXTstatic intDATATYPE_TIMEstatic intDATATYPE_UNSUPPORTEDstatic StringEMPTY_STRINGstatic intNO_SELECTIONstatic intNULL_IDID not set to a valuestatic StringXFTAG_UPLOAD -
Constructor Summary
Constructors Constructor Description Constants() -
Method Summary
-
Field Details
-
EMPTY_STRING
- See Also:
- Constant Field Values
-
NO_SELECTION
public static final int NO_SELECTION- See Also:
- Constant Field Values
-
NULL_ID
public static final int NULL_IDID not set to a value- See Also:
- Constant Field Values
-
CONNECTION_NONE
public static final int CONNECTION_NONEConnection type not specified- See Also:
- Constant Field Values
-
CONNECTION_INFRARED
public static final int CONNECTION_INFRAREDInfrared connection- See Also:
- Constant Field Values
-
CONNECTION_BLUETOOTH
public static final int CONNECTION_BLUETOOTHBluetooth connection- See Also:
- Constant Field Values
-
CONNECTION_CABLE
public static final int CONNECTION_CABLEData cable connection. Can be USB or Serial.- See Also:
- Constant Field Values
-
CONNECTION_OTA
public static final int CONNECTION_OTAOver The Air or HTTP Connection- See Also:
- Constant Field Values
-
DATATYPE_UNSUPPORTED
public static final int DATATYPE_UNSUPPORTED- See Also:
- Constant Field Values
-
DATATYPE_NULL
public static final int DATATYPE_NULL- See Also:
- Constant Field Values
-
DATATYPE_TEXT
public static final int DATATYPE_TEXT- See Also:
- Constant Field Values
-
DATATYPE_INTEGER
public static final int DATATYPE_INTEGER- See Also:
- Constant Field Values
-
DATATYPE_DECIMAL
public static final int DATATYPE_DECIMAL- See Also:
- Constant Field Values
-
DATATYPE_DATE
public static final int DATATYPE_DATE- See Also:
- Constant Field Values
-
DATATYPE_TIME
public static final int DATATYPE_TIME- See Also:
- Constant Field Values
-
DATATYPE_DATE_TIME
public static final int DATATYPE_DATE_TIME- See Also:
- Constant Field Values
-
DATATYPE_CHOICE
public static final int DATATYPE_CHOICE- See Also:
- Constant Field Values
-
DATATYPE_MULTIPLE_ITEMS
public static final int DATATYPE_MULTIPLE_ITEMSA list of items used for selecting multiple answers or ordering them- See Also:
- Constant Field Values
-
DATATYPE_CHOICE_LIST
public static final int DATATYPE_CHOICE_LISTThe same asDATATYPE_MULTIPLE_ITEMS(for backwards compatibility)- See Also:
- Constant Field Values
-
DATATYPE_BOOLEAN
public static final int DATATYPE_BOOLEAN- See Also:
- Constant Field Values
-
DATATYPE_GEOPOINT
public static final int DATATYPE_GEOPOINT- See Also:
- Constant Field Values
-
DATATYPE_BARCODE
public static final int DATATYPE_BARCODE- See Also:
- Constant Field Values
-
DATATYPE_BINARY
public static final int DATATYPE_BINARY- See Also:
- Constant Field Values
-
DATATYPE_LONG
public static final int DATATYPE_LONG- See Also:
- Constant Field Values
-
DATATYPE_GEOSHAPE
public static final int DATATYPE_GEOSHAPE- See Also:
- Constant Field Values
-
DATATYPE_GEOTRACE
public static final int DATATYPE_GEOTRACE- See Also:
- Constant Field Values
-
CONTROL_UNTYPED
public static final int CONTROL_UNTYPED- See Also:
- Constant Field Values
-
CONTROL_INPUT
public static final int CONTROL_INPUT- See Also:
- Constant Field Values
-
CONTROL_SELECT_ONE
public static final int CONTROL_SELECT_ONE- See Also:
- Constant Field Values
-
CONTROL_SELECT_MULTI
public static final int CONTROL_SELECT_MULTI- See Also:
- Constant Field Values
-
CONTROL_TEXTAREA
public static final int CONTROL_TEXTAREA- See Also:
- Constant Field Values
-
CONTROL_SECRET
public static final int CONTROL_SECRET- See Also:
- Constant Field Values
-
CONTROL_RANGE
public static final int CONTROL_RANGE- See Also:
- Constant Field Values
-
CONTROL_UPLOAD
public static final int CONTROL_UPLOAD- See Also:
- Constant Field Values
-
CONTROL_SUBMIT
public static final int CONTROL_SUBMIT- See Also:
- Constant Field Values
-
CONTROL_TRIGGER
public static final int CONTROL_TRIGGER- See Also:
- Constant Field Values
-
CONTROL_IMAGE_CHOOSE
public static final int CONTROL_IMAGE_CHOOSE- See Also:
- Constant Field Values
-
CONTROL_LABEL
public static final int CONTROL_LABEL- See Also:
- Constant Field Values
-
CONTROL_AUDIO_CAPTURE
public static final int CONTROL_AUDIO_CAPTURE- See Also:
- Constant Field Values
-
CONTROL_VIDEO_CAPTURE
public static final int CONTROL_VIDEO_CAPTURE- See Also:
- Constant Field Values
-
CONTROL_OSM_CAPTURE
public static final int CONTROL_OSM_CAPTURE- See Also:
- Constant Field Values
-
CONTROL_FILE_CAPTURE
public static final int CONTROL_FILE_CAPTUREgeneric upload- See Also:
- Constant Field Values
-
CONTROL_RANK
public static final int CONTROL_RANK- See Also:
- Constant Field Values
-
XFTAG_UPLOAD
- See Also:
- Constant Field Values
-
-
Constructor Details
-
Constants
public Constants()
-