| java.lang.Object de.danet.an.workflow.clients.mgmtportlets.process.DataFieldWrapper
DataFieldWrapper | public class DataFieldWrapper implements Serializable(Code) | | A wrapper for data fields.
author: Michael Lipp |
Constructor Summary | |
public | DataFieldWrapper(Map dataFieldAttrs, String name, Object type, Object value) Create a new instance with all atributes initialized
to defaults or the given values. |
DataFieldWrapper | public DataFieldWrapper(Map dataFieldAttrs, String name, Object type, Object value)(Code) | | Create a new instance with all atributes initialized
to defaults or the given values.
Parameters: name - Parameters: type - TODO Parameters: value - |
getDateValue | public Date getDateValue()(Code) | | value as Date |
getLines | public int getLines()(Code) | | Return the number of lines to display, valid only if
type is string or XML. If expanded, return at least 2.
|
getTimeValue | public Date getTimeValue()(Code) | | value as Date |
isBoolean | public boolean isBoolean()(Code) | | Checks if this data field is of type boolean.
the result |
isDate | public boolean isDate()(Code) | | Checks if this data field is of type date.
the result |
isDouble | public boolean isDouble()(Code) | | Checks if this data field is of type Double (float).
the result |
isExpanded | public boolean isExpanded()(Code) | | Returns the expanded. |
isLong | public boolean isLong()(Code) | | Checks if this data field is of type Long (integer).
the result |
isModified | public boolean isModified()(Code) | | true if modified |
isString | public boolean isString()(Code) | | Checks if this data field is of type String.
the result |
isUneditable | public boolean isUneditable()(Code) | | Checks is this data filed is of an uneditable type.
the result |
isXml | public boolean isXml()(Code) | | Checks if this data field is of type date.
the result |
setDateValue | public void setDateValue(Date newDate)(Code) | | Sets the date part as specified by the parameter
Parameters: newDate - |
setTimeValue | public void setTimeValue(Date newTime)(Code) | | Sets the date part as specified by the parameter
Parameters: newDate - |
setValue | public void setValue(Object value)(Code) | | Parameters: value - The value to set. |
toggleExpanded | public String toggleExpanded()(Code) | | Toggle the expanded state.
|
|
|