Developer

InputAttribute.InputValue class

Helper class to return the input value and provide helper methods to convert the value into needed types.

Package

com.sybase365.mobiliser.brand.plugins.smapp.controls.InputAttribute
Syntax
Syntax
public class InputValue

Members

All members of InputValue, including inherited members.

Constructors
Modifier and Type Constructor Description
public InputValue(String) Constructor.
public InputValue(String, String) Constructor.
Methods
Modifier and Type Method Description
public Boolean getBoolean() The Boolean value of this input.
public Double getDouble() The Double value of this input.
public Integer getInt() The Integer value of this input.
public Long getLong() The Long value of this input.
public String getMsisdn(String) Get the MSISDN in international format based on the specified country code.
public String getString() The String value of this input.
public String getString(int) Get the string value that is truncated to the specify size.
public String toString() Returns a string representation of this instance.

Usage

Internally, InputValue has two fields: name and value. If not provided, the name will be set to an empty string. The name and value will be set in the exception message when occurs.