|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openbp.cockpit.generator.GeneratorSettings
public class GeneratorSettings
General settings object for a generator. This object may hold various information that is edited using a custom property browser page.
| Field Summary |
|---|
| Fields inherited from interface org.openbp.common.generic.Copyable |
|---|
COPY_DEEP, COPY_FIRST_LEVEL, COPY_SHALLOW |
| Constructor Summary | |
|---|---|
GeneratorSettings()
Default constructor. |
|
| Method Summary | |
|---|---|
void |
afterDeserialization(MsgContainer msgs)
This template method is called after the settings object has been deserialized. |
void |
beforeSerialization()
This template method is called before the settings object is being serialized. |
java.lang.Object |
clone()
Creates a clone of this object. |
void |
copyFrom(java.lang.Object source,
int copyMode)
Copies the values of the source object to this object. |
java.lang.String |
getGeneratorName()
Gets the generator name. |
Model |
getModel()
Gets the model that will be used to resolve item references (e\.g\. data types). |
void |
setGeneratorName(java.lang.String generatorName)
Sets the generator name. |
void |
setModel(Model model)
Sets the model that will be used to resolve item references (e\.g\. data types). |
boolean |
validate(MsgContainer msgContainer)
Checks if the object is valid. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GeneratorSettings()
| Method Detail |
|---|
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in interface Copyableclone in class java.lang.Objectjava.lang.CloneNotSupportedException - If the cloning of one of the contained members failed
public void copyFrom(java.lang.Object source,
int copyMode)
throws java.lang.CloneNotSupportedException
copyFrom in interface Copyablesource - The source object. Must be of the same type as this object.copyMode - Determines if a deep copy, a first level copy or a shallow copy is to be
performed. See the constants of the org.openbp.common.generic.description.Copyable class.
java.lang.CloneNotSupportedException - If the cloning of one of the contained objects failedpublic void beforeSerialization()
public void afterDeserialization(MsgContainer msgs)
msgs - Container for error messagespublic boolean validate(MsgContainer msgContainer)
validate in interface ValidatablemsgContainer - Any errors will be logged to this message container
public java.lang.String getGeneratorName()
public void setGeneratorName(java.lang.String generatorName)
public Model getModel()
public void setModel(Model model)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||