|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.fractal.task.core.RecordTemplate
public class RecordTemplate
A RecordTemplate can be used when different Record
must be
instantiated with the same record descriptor and different list of
arguments.
Constructor Summary | |
---|---|
RecordTemplate(java.lang.String recordDesc)
Create a template of record for the given record descriptor. |
Method Summary | |
---|---|
Record |
instantiate(java.lang.Object... args)
Instantiate a record by replacing the "%" field values of
the descriptor by the given arguments. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RecordTemplate(java.lang.String recordDesc)
recordDesc
- a record descriptor.Method Detail |
---|
public Record instantiate(java.lang.Object... args)
"%"
field values of
the descriptor by the given arguments.
args
- the arguments of the record.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |