|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.moremotion.process.MemoryProcessBlock
public class MemoryProcessBlock
Represents a Process Block that includes one or more Process Records
.
Method Summary | |
---|---|
void |
addRecord(MemoryProcessRecord record)
Adds a process record to this process block. |
void |
clearRecords()
Clears all the process records of this process block. |
java.lang.String |
getField(java.lang.String fieldName,
int index)
|
java.lang.String[] |
getFieldNames()
Returns the names of the block fields. |
java.lang.Object |
getObject(java.lang.String fieldName,
int index)
|
ProcessRecord |
getRecord(int index)
Returns the process record that has the specified index number. |
int |
getRecordCount()
Returns the number of process records available in this block. |
boolean |
isFieldModified(java.lang.String fieldName,
int index)
|
boolean |
isModified(int index)
|
boolean |
isSelected(int index)
|
void |
setField(java.lang.String fieldName,
java.lang.String value,
int index)
|
void |
setObject(java.lang.String fieldName,
java.lang.Object object,
int index)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public void addRecord(MemoryProcessRecord record) throws ProcessManagingException
record
- MemoryProcessRecord
object to add to this block
ProcessManagingException
public void clearRecords()
public int getRecordCount()
getRecordCount
in interface ProcessBlock
public ProcessRecord getRecord(int index)
public java.lang.String[] getFieldNames()
getFieldNames
in interface ProcessBlock
public java.lang.String getField(java.lang.String fieldName, int index)
getField
in interface ProcessBlock
public boolean isSelected(int index)
isSelected
in interface ProcessBlock
public boolean isModified(int index)
isModified
in interface ProcessBlock
public boolean isFieldModified(java.lang.String fieldName, int index)
isFieldModified
in interface ProcessBlock
public void setField(java.lang.String fieldName, java.lang.String value, int index)
setField
in interface ProcessBlock
public java.lang.Object getObject(java.lang.String fieldName, int index)
getObject
in interface ProcessBlock
public void setObject(java.lang.String fieldName, java.lang.Object object, int index)
setObject
in interface ProcessBlock
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 |