Patient Cloud AppConnect Android API References
Public Member Functions | List of all members
com.mdsol.babbage.model.TextField

Inherits com.mdsol.babbage.model.Field.

Public Member Functions

native int getMaximumResponseLength ()
 
native String getSubjectResponse ()
 
native void setSubjectResponse (String response)
 
- Public Member Functions inherited from com.mdsol.babbage.model.Field
native boolean equals (Object other)
 
native String getFieldNumber ()
 
native String getFieldOID ()
 
native int getFieldOrdinal ()
 
native Type getFieldType ()
 
native String getHeader ()
 
native long getID ()
 
native String getLabel ()
 
native Problem getResponseProblem ()
 
native boolean isVisible ()
 
- Public Member Functions inherited from com.mdsol.babbage.model.DatastoreRelation
Datastore getDatastore ()
 

Additional Inherited Members

- Protected Member Functions inherited from com.mdsol.babbage.model.Field
void finalize ()
 
- Protected Attributes inherited from com.mdsol.babbage.model.DatastoreRelation
long mNativeObject
 

Detailed Description

Use the TextField to prompt users for text.

Member Function Documentation

native int com.mdsol.babbage.model.TextField.getMaximumResponseLength ( )

Gets the maximum number of characters that the response can have. Information extracted from the field's (data format). If the response does not respect this constraint, getResponseProblem() returns

Problem.FATAL_RESPONSE_OUT_OF_RANGE

.

Returns
Maximum length of the response.
native String com.mdsol.babbage.model.TextField.getSubjectResponse ( )

Returns subject responses to questions. Represented as a text field.

Returns
Subject response.
native void com.mdsol.babbage.model.TextField.setSubjectResponse ( String  response)