|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sybase.uep.bobclient.actions.SubmitElement
public class SubmitElement
This is the submit element class
This class will contain information about the variable and inputs on the screen to save for operation submission
Constructor Summary | |
---|---|
SubmitElement(java.lang.String displayName,
java.lang.Object value,
java.lang.String type,
ControlVariable variable,
boolean required,
java.lang.String structureParamKey,
int maxLength,
java.lang.String fromAttribute,
java.lang.String schemaType,
boolean isList,
SubValueDescriptorChain chain,
boolean isValidateOnly)
Constructor to create a submit element object |
|
SubmitElement(java.lang.String displayName,
java.lang.Object value,
java.lang.String type,
ControlVariable variable,
boolean required,
java.lang.String structureParamKey,
java.lang.String fromAttribute,
java.lang.String schemaType,
boolean isList,
SubValueDescriptorChain chain,
boolean isValidateOnly)
Constructor to create a submit element object |
Method Summary | |
---|---|
java.lang.String |
getDisplayName()
Return the display name for this input field |
java.lang.String |
getFromAttribute()
Retrieve from attribute name |
int |
getMaxLength()
Retrieve the maximum length |
java.lang.String |
getSchemaType()
Retrieve schema type |
java.lang.String |
getStructureParamKey()
Retrieve the structure parameter key value |
java.lang.String |
getType()
Retrieve the type for this submit element |
java.lang.Object |
getValue()
Retrieve the value for this submit element |
java.lang.Object |
getValueForSubmit()
Retrieve the value that will be assign to the object api. |
ControlVariable |
getVariable()
Retrieve the control variable object |
boolean |
isList()
Return _isList |
boolean |
isRequired()
Check to see if this submit element is required or not |
boolean |
isValidateOnly()
Gets the _isValidateOnly |
void |
setValue(java.lang.Object value)
Set the value for this submit element |
java.lang.String |
toString()
Print out the submit element values |
Diagnostic |
validate(java.lang.String mboId)
Checks if the submit value is valid |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SubmitElement(java.lang.String displayName, java.lang.Object value, java.lang.String type, ControlVariable variable, boolean required, java.lang.String structureParamKey, java.lang.String fromAttribute, java.lang.String schemaType, boolean isList, SubValueDescriptorChain chain, boolean isValidateOnly)
displayName
- String
value for the display namevalue
- Object
value for the submit elementtype
- String
value for the type of persist element, Can be the following
VariableProperties.SUBMIT_USER_TYPE
,
VariableProperties.SUBMIT_CONTROL_TYPE
,
VariableProperties.SUBMIT_VARIABLE_TYPE
, or
VariableProperties.SUBMIT_NULL_TYPE
,variable
- ControlVariable
value for the control variable object.
This is only use when the type is of VariableProperties.SUBMIT_VARIABLE_TYPErequired
- true
if this parameter is required, if so we need to validate, otherwise false
structureParamKey
- String
value for the structure parameter keyfromAttribute
- String
value for the from attribute nameschemaType
- String
value for the schema typeVariableProperties
,
ControlVariable
public SubmitElement(java.lang.String displayName, java.lang.Object value, java.lang.String type, ControlVariable variable, boolean required, java.lang.String structureParamKey, int maxLength, java.lang.String fromAttribute, java.lang.String schemaType, boolean isList, SubValueDescriptorChain chain, boolean isValidateOnly)
displayName
- String
value for the display namevalue
- Object
value for the submit elementtype
- String
value for the type of persist element, Can be the following
VariableProperties.SUBMIT_USER_TYPE
,
VariableProperties.SUBMIT_CONTROL_TYPE
,
VariableProperties.SUBMIT_VARIABLE_TYPE
, or
VariableProperties.SUBMIT_NULL_TYPE
,variable
- ControlVariable
value for the control variable object.
This is only use when the type is of VariableProperties.SUBMIT_VARIABLE_TYPErequired
- true
if this parameter is required, if so we need to validate, otherwise false
structureParamKey
- String
value for the structure parameter keymaxLength
- int
value for the maximum length of the input field, -1 for undefinedfromAttribute
- String
value for the from attribute nameschemaType
- String
value for the schema typeMethod Detail |
---|
public java.lang.String getDisplayName()
String
value for the display namepublic java.lang.String getSchemaType()
String
value of the schema typepublic java.lang.String getFromAttribute()
String
value of the from attribute namepublic java.lang.String getType()
String
value of the submit element typepublic ControlVariable getVariable()
This is only used if the type is of VariableProperties.SUBMIT_VARIABLE_TYPE
ControlVariable
value for the variablepublic java.lang.Object getValue()
String
valuepublic void setValue(java.lang.Object value)
value
- Object
valuepublic boolean isRequired()
true
if control is required, otherwise false
public java.lang.String getStructureParamKey()
String
value for the structure parameter keypublic int getMaxLength()
int
value for the maximum lengthpublic boolean isList()
public java.lang.Object getValueForSubmit()
public Diagnostic validate(java.lang.String mboId)
mboId
- id of the MBO which will be validated against
public java.lang.String toString()
toString
in class java.lang.Object
String
value of all the attributespublic boolean isValidateOnly()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |