com.sri.emo.wizard.completion
Class CustomPartHandlerMetadata

java.lang.Object
  extended by com.sri.emo.wizard.defaults.EmoWizardMetadata
      extended by com.sri.emo.wizard.completion.CustomPartHandlerMetadata
All Implemented Interfaces:
PageMetadata, Serializable

public class CustomPartHandlerMetadata
extends EmoWizardMetadata

Constructs metadata for a custom part handler. Put in here any special data hooks needed to load the criteria.

Author:
Larry Hamel
See Also:
Serialized Form

Constructor Summary
CustomPartHandlerMetadata()
          Default constructor.
 
Method Summary
 IPartHandler getCustomHandler()
          create instance of custom handler; uses 'forName' and depends on no-args constructor
 List getInputList()
           
 ISetting getSettingPrototype()
           
 String getViewId()
          Overrides the view id to return the custom handler entry.
 void setCustomHandlerClassName(String handlerClass)
           
 void setInputList(List list)
           
 void setSettingPrototype(ISetting settingPrototype)
           
 
Methods inherited from class com.sri.emo.wizard.defaults.EmoWizardMetadata
equals, getCancel, getDirective, getFinish, getHelpText, getNext, getPrevious, getTitle, hashCode, isEntry, isEntryRequired, isHasEntry, setCancelLink, setDirective, setEntry, setEntryRequired, setFinishLink, setHelpText, setNextLink, setPreviousLink, setTitle, setViewId, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CustomPartHandlerMetadata

public CustomPartHandlerMetadata()
Default constructor.

Method Detail

getViewId

public String getViewId()
Overrides the view id to return the custom handler entry. Retrieve the view id. Defaults to null. May specify a special type of view handling for a given page.

Specified by:
getViewId in interface PageMetadata
Overrides:
getViewId in class EmoWizardMetadata
Returns:
'CustomHandlerEntry'

setCustomHandlerClassName

public void setCustomHandlerClassName(String handlerClass)

getCustomHandler

public IPartHandler getCustomHandler()
                              throws ClassNotFoundException,
                                     IllegalAccessException,
                                     InstantiationException
create instance of custom handler; uses 'forName' and depends on no-args constructor

Returns:
instance of this custom handler; never null
Throws:
ClassNotFoundException
IllegalAccessException
InstantiationException

getInputList

public List getInputList()

setInputList

public void setInputList(List list)

setSettingPrototype

public void setSettingPrototype(ISetting settingPrototype)

getSettingPrototype

public ISetting getSettingPrototype()


Copyright © 2004-2006 Codeguild, Inc.. All Rights Reserved.