|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.moremotion.process.ProcessRecord
public class ProcessRecord
Represents a Process Record that is contained in a FormProcessBlock
.
Method Summary | |
---|---|
ProcessBlock |
getBlock()
|
java.lang.String |
getField(java.lang.String name,
java.lang.String defValue)
Returns the value of the specified field of this process record. |
boolean |
getFieldAsBoolean(java.lang.String name,
boolean defValue)
Returns the value of the specified field of this process record. |
double |
getFieldAsDouble(java.lang.String name,
double defValue)
Returns the value of the specified field of this process record as double value. |
int |
getFieldAsInt(java.lang.String name,
int defValue)
Returns the value of the specified field of this process record as integer value. |
int |
getIndex()
|
java.lang.Object |
getObject(java.lang.String name)
Returns the object with the specified name existing in this record. |
boolean |
isFieldModified(java.lang.String name)
Returns true if the given field in the record is modified. |
boolean |
isModified()
Returns true if this record is marked as modified. |
boolean |
isSelected()
Returns true if this records is marked as selected. |
void |
setField(java.lang.String name,
java.lang.String value)
Creates a custom name in this record and sets its value. |
void |
setObject(java.lang.String name,
java.lang.Object object)
Sets an object with the specified name in this record. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public int getIndex()
public ProcessBlock getBlock()
public java.lang.String getField(java.lang.String name, java.lang.String defValue)
name
- The name of the name. It can be custom name or a block name.defValue
- The value to be returned if specified name is not found.
public int getFieldAsInt(java.lang.String name, int defValue)
name
- The name of the name. It can be custom name or a block name.defValue
- The value to be returned if specified name is not found or not a integer value.
public double getFieldAsDouble(java.lang.String name, double defValue)
name
- The name of the name. It can be custom name or a block name.defValue
- The value to be returned if specified name is not found or not a valid double.
public boolean getFieldAsBoolean(java.lang.String name, boolean defValue)
name
- The name of the name. It can be custom name or a block name.defValue
- The value to be returned if specified name is not found.
public void setField(java.lang.String name, java.lang.String value)
name
- The name of the custom name to be setvalue
- Value to setpublic void setObject(java.lang.String name, java.lang.Object object)
name
- The name of the object to be setobject
- The object to setpublic java.lang.Object getObject(java.lang.String name)
public boolean isModified()
true
if this record is marked as modified.
public boolean isFieldModified(java.lang.String name)
true
if the given field in the record is modified.
public boolean isSelected()
true
if this records is marked as selected.
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |