|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectit.amattioli.workstate.config.MetaEventBuilder
public class MetaEventBuilder
Allows the construction of a MetaEvent instance given the configuration
strings read from a datasource.
| Constructor Summary | |
|---|---|
MetaEventBuilder(String tag,
String id)
Construct a builder given the event tag and an identifier |
|
| Method Summary | |
|---|---|
void |
addAttribute(MetaAttribute attr)
Add an attribute to the building event |
void |
addValidator(String validator)
Add a validator object to the event that is being built. |
MetaEvent |
getBuiltEvent()
Returns the built MetaEvent |
String |
getId()
Returns the identifier passed to this builder constructor |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MetaEventBuilder(String tag,
String id)
| Method Detail |
|---|
public String getId()
public void addAttribute(MetaAttribute attr)
addAttribute in interface AttributeOwnerBuilderattr - the attribute to be associated to the eventpublic void addValidator(String validator)
EventValidator interface
followed by the parameters that must be passed to the constructor
public MetaEvent getBuiltEvent()
MetaEvent
MetaEvent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||