org.openbp.cockpit.generator.generic
Class ProcessEntry

java.lang.Object
  extended by org.openbp.common.generic.description.DescriptionObjectImpl
      extended by org.openbp.common.generic.description.DisplayObjectImpl
          extended by org.openbp.cockpit.generator.generic.ProcessEntry
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Comparable, Copyable, DescriptionObject, Displayable, DisplayObject, Validatable

public class ProcessEntry
extends DisplayObjectImpl

Entry in a process. Constitutes of a reference to the process initial node and additional display object information (in order to customize display name and description).

Author:
Heiko Erhardt
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.openbp.common.generic.Copyable
COPY_DEEP, COPY_FIRST_LEVEL, COPY_SHALLOW
 
Constructor Summary
ProcessEntry()
          Default constructor.
 
Method Summary
 void afterDeserialization(MsgContainer msgs, Model model)
          This template method is called after the settings object has been deserialized.
 void beforeSerialization(Model model)
          This template method is called before the settings object is being serialized.
 void copyFrom(java.lang.Object source, int copyMode)
          Copies the values of the source object to this object.
 java.lang.String getEntryName()
          Gets the name of the initial node this navigation bar entry refers to.
 InitialNode getInitialNode()
          Gets the initial node this entry refers to.
 Model getModel()
          Gets the model that will be used to resolve item references (e\.g\. data types).
 void setEntryName(java.lang.String entryName)
          Sets the name of the initial node this navigation bar entry refers to.
 void setInitialNode(InitialNode initialNode)
          Sets the initial node this entry refers to.
 void setModel(Model model)
          Sets the model that will be used to resolve item references (e\.g\. data types).
 
Methods inherited from class org.openbp.common.generic.description.DisplayObjectImpl
getDisplayName, getDisplayText, setDisplayName
 
Methods inherited from class org.openbp.common.generic.description.DescriptionObjectImpl
clone, compareTo, getDescription, getDescriptionEscape, getDescriptionText, getName, setDescription, setDescriptionEscape, setName, toString, validate
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.openbp.common.generic.description.DescriptionObject
clone, getDescription, getDescriptionText, getName, setDescription, setName
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

ProcessEntry

public ProcessEntry()
Default constructor.

Method Detail

copyFrom

public void copyFrom(java.lang.Object source,
                     int copyMode)
              throws java.lang.CloneNotSupportedException
Copies the values of the source object to this object.

Specified by:
copyFrom in interface Copyable
Overrides:
copyFrom in class DisplayObjectImpl
Parameters:
source - 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.
Throws:
java.lang.CloneNotSupportedException - If the cloning of one of the contained objects failed

getInitialNode

public InitialNode getInitialNode()
Gets the initial node this entry refers to.


setInitialNode

public void setInitialNode(InitialNode initialNode)
Sets the initial node this entry refers to.


getEntryName

public java.lang.String getEntryName()
Gets the name of the initial node this navigation bar entry refers to.


setEntryName

public void setEntryName(java.lang.String entryName)
Sets the name of the initial node this navigation bar entry refers to.


getModel

public Model getModel()
Gets the model that will be used to resolve item references (e\.g\. data types).


setModel

public void setModel(Model model)
Sets the model that will be used to resolve item references (e\.g\. data types).


beforeSerialization

public void beforeSerialization(Model model)
This template method is called before the settings object is being serialized. It can be overridden to implement custom operations.

Parameters:
model - Model that will be used to resolve item references (e\.g\. data types)

afterDeserialization

public void afterDeserialization(MsgContainer msgs,
                                 Model model)
This template method is called after the settings object has been deserialized. It will add all data members that are not present in the field list to the field list.

Parameters:
msgs - Container for error messages
model - Model that will be used to resolve item references (e\.g\. data types)


Copyright © 2011. All Rights Reserved.