WEB4J Development Tools 4.10.0.0

hirondelle.web4jtools.codegenerator.feature
Class Feature

Object
  extended by hirondelle.web4jtools.codegenerator.feature.Feature

public final class Feature
extends Object

Model Object for your feature's basic information.

When generating code for a new feature, you start by entering this data.


Constructor Summary
Feature(String aName, String aUiStyle, String aPackageName, String aShowOperation, String aApplyOperation)
          Constructor.
 
Method Summary
 boolean equals(Object aThat)
           
 ApplyOperation getApplyOperation()
           
 String getName()
           
 String getPackageName()
           
 ShowOperation getShowOperation()
           
 UiStyle getUiStyle()
           
 int hashCode()
           
 String toString()
          Intended for debugging only.
 
Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Feature

public Feature(String aName,
               String aUiStyle,
               String aPackageName,
               String aShowOperation,
               String aApplyOperation)
        throws ModelCtorException
Constructor.

The feature name is used to generate names for many different items that form part of the implementation. For example, the base name of "Jet Engine" (with the space) will be used to generate names such as :

The formatting of the name depends on the context in which it is used, and is mostly controlled by the Functions utility class. You can implement custom coding conventions by altering the implementation of Functions.

Warning : the text items in this class are modeled as String, not SafeText. If rendering this data in markup, it is strongly recommended that the text be escaped for special characters using w:safe().

Parameters:
aName - for the feature, 2..50 characters, required
aUiStyle - denotes the style of user interaction, required
aPackageName - name of the package for generated items, 2..200 characters, valid package name, required
aShowOperation - either List or Fetch, optional. Used only with ActionTemplateShowAndApply.
aApplyOperation - one of Add, Change, or Delete, optional. Used only with ActionTemplateShowAndApply.
Throws:
ModelCtorException
Method Detail

getName

public String getName()

getUiStyle

public UiStyle getUiStyle()

getPackageName

public String getPackageName()

getShowOperation

public ShowOperation getShowOperation()

getApplyOperation

public ApplyOperation getApplyOperation()

toString

public String toString()
Intended for debugging only.

Overrides:
toString in class Object

equals

public boolean equals(Object aThat)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

WEB4J Development Tools 4.10.0.0

Copyright Hirondelle Systems - Generated 2013Oct19.12.26