public class MboValueData
extends java.lang.Object
implements java.io.Serializable
Serializable
and is returned to the client over
a remote connection so care must be taken in making this larger!Constructor and Description |
---|
MboValueData(MboValue mv)
Construct using a MboValue class as the basis !
|
MboValueData(MboValue mv,
boolean ignoreFieldFlags)
MboValueData object constructed by this constructor doesn't include the readonly
and required flag if ignoreFieldFlags is true.
|
MboValueData(MboValueInfo mvi)
Construct using a MboValueInfo class as the basis !
|
Modifier and Type | Method and Description |
---|---|
ApplicationError |
getApplicationError()
Returns the ApplicationError associated with the MboValue.
|
java.lang.String[] |
getAppLink()
Return the applink.
|
MaxType |
getClonedMaxType()
Returns a cloned copy of the MaxType object corresponding to this MboValueData Object.
|
java.lang.String |
getData()
Return the actual contents of the field.
|
boolean |
getDataAsBoolean()
Returns the content of the field as boolean.
|
java.util.Date |
getDataAsDate()
Returns the content of the field as Date.
|
double |
getDataAsDouble()
Returns the content of the field as double.
|
float |
getDataAsFloat()
Returns the content of the field as float.
|
int |
getDataAsInt()
Returns the content of the field as int.
|
long |
getDataAsLong()
Returns the content of the field as long.
|
java.lang.Object |
getDataAsObject()
Returns the content of the field in an Object.
|
java.lang.Object |
getDataAsObject(int dataType)
Returns the content of the field in an Object of the given data type.
|
int |
getLength()
Maximum length of the field.
|
java.lang.String |
getLookupName()
Return the lookup name.
|
java.lang.String |
getProcessValue()
Provide to UI framework the current value which was sent for processing and
caused an error.
|
int |
getTypeAsInt()
Return the type of the object as an Int value.
|
boolean |
hasList()
Has the field got a look up list ?
|
boolean |
hasLongDescription()
Does this field have long Description potentially available.
|
boolean |
isApplicationRequired()
Return whether or not the application has marked this field as conditional required
|
boolean |
isHidden() |
boolean |
isNull()
Returns whether the content of the field is null.
|
boolean |
isNumeric()
Returns true of field is defined as a numeric type
|
boolean |
isReadOnly()
Is the field read only ?
|
boolean |
isRequired()
Is this field required ?
|
void |
overrideStringData(java.lang.String newValue)
This should be called only in very special circumstances related to conversion of
a value between locales (for example, maxattributecfg.defaultvalue).
|
public MboValueData(MboValueInfo mvi)
public MboValueData(MboValue mv)
public MboValueData(MboValue mv, boolean ignoreFieldFlags)
mv
- ignoreFieldFlags
- public boolean isNumeric()
public int getTypeAsInt()
public int getLength()
public java.lang.String getData()
public java.lang.Object getDataAsObject() throws MXException
MXException
public java.lang.Object getDataAsObject(int dataType) throws MXException
MXException
public boolean getDataAsBoolean() throws MXException
MXException
public java.util.Date getDataAsDate() throws MXException
MXException
public double getDataAsDouble() throws MXException
MXException
public float getDataAsFloat() throws MXException
MXException
public int getDataAsInt() throws MXException
MXException
public long getDataAsLong() throws MXException
MXException
public boolean isNull()
public boolean hasList()
public boolean isReadOnly()
public boolean isRequired()
public boolean isHidden()
public boolean hasLongDescription()
public MaxType getClonedMaxType()
public java.lang.String[] getAppLink()
public java.lang.String getLookupName()
public void overrideStringData(java.lang.String newValue)
newValue
- public java.lang.String getProcessValue()
public ApplicationError getApplicationError()
public boolean isApplicationRequired()