|
WEB4J Development Tools 4.10.0.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Objecthirondelle.web4jtools.codegenerator.feature.Feature
public final class Feature
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 |
---|
public Feature(String aName, String aUiStyle, String aPackageName, String aShowOperation, String aApplyOperation) throws ModelCtorException
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().
aName
- for the feature, 2..50 characters, requiredaUiStyle
- denotes the style of user interaction, requiredaPackageName
- name of the package for generated items, 2..200 characters, valid package name, requiredaShowOperation
- either List or Fetch, optional. Used only with ActionTemplateShowAndApply.aApplyOperation
- one of Add, Change, or Delete, optional. Used only with ActionTemplateShowAndApply.
ModelCtorException
Method Detail |
---|
public String getName()
public UiStyle getUiStyle()
public String getPackageName()
public ShowOperation getShowOperation()
public ApplyOperation getApplyOperation()
public String toString()
toString
in class Object
public boolean equals(Object aThat)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
WEB4J Development Tools 4.10.0.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |