java.lang.Object
org.wurbelizer.wurblet.AbstractWurblet
org.wurbelizer.wurblet.AbstractJavaWurblet
org.tentackle.wurblet.ModelWurblet
org.tentackle.persist.wurblet.DbModelWurblet
org.tentackle.persist.wurblet.Declare
- All Implemented Interfaces:
org.wurbelizer.wurblet.Wurblet
(
@wurblet) Generate code to declare the attributes of an entity.
usage:
@wurblet <tag> Declare [--protected] [--annotations] [--mock]
arguments:
- --protected: makes the fields protected (default is private).
- --annotations: to generate annotations. Default is no generation as they will be generated for the methods.
- --mock: generate code for mock object.
DbModelWurblet.-
Field Summary
Fields inherited from class org.wurbelizer.wurblet.AbstractWurblet
configuration, container, out, phase, source -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.tentackle.persist.wurblet.DbModelWurblet
aas, acs, as, assertEntityIsPersistable, assertEntityNotEmbedded, buildInvocationParameters, buildInvocationParameters, buildMethodParameters, buildMethodParameters, createJdbcGetterName, createJdbcSetterName, createJoins, createJoinSetPars, createOrderBy, createOrderBy, createRelationArgString, createRelationDeleteCode, createRelationLinkCode, createRelationSelectCode, createRelationSetFirstArgMethodName, createRelationUpdateReferenceCode, createRelationUpdateReferenceCode, createRelationWurbletArgString, createRelopCode, createStatementId, createWhereSetPars, createWhereSetPars, getContextAttribute, getDefaultSorting, getDefaultSortKeys, getEagerRelations, getExpression, getExpressionArguments, getExtraArguments, getFirstMethodAttribute, getJdbcCode, getJoinPaths, getMethodArguments, getModelCode, getSortingArguments, isAbstractJoinPath, isArgumentGroupingEnabled, isAttracked, isEntityPersistable, isFullTracked, isPathAllowed, isPdoProvidingArguments, isRelationTransient, isTracked, isWithDefaultSorting, isWithJoins, isWithSorting, pcsMethods inherited from class org.tentackle.wurblet.ModelWurblet
appendCommaSeparated, assertSupportedByBackends, createAccessorCode, createComponentInfo, createDeclaredArgsForSelectOrDeleteMethod, createListRelationDeleteMethodName, createRelationSelectMethodName, deriveClassNameForEntity, getAnnotationOptions, getArgs, getBackends, getColumnName, getColumnNameConstant, getEffectiveDataType, getEmbeddedTableAttributes, getEntity, getMethodName, getModelDefaults, getModelDirName, getModelName, getNonPrimitiveJavaType, getOption, getOptionArgs, getPdoClassName, getWurbletArgs, isAttributeDerived, isGenerified, isIdAttribute, isIdOrSerialAttribute, isInterface, isMuteOptionSet, isPartOfInheritanceHierarchy, isPdo, isRemote, isSerialAttribute, orderByInheritanceLevelAndClassId, prependCommaSeparated, setRemoteMethods inherited from class org.wurbelizer.wurblet.AbstractJavaWurblet
getClassName, getPackageName, getSuperClassName, isAbstract, isClass, isFinal, isPrivate, isProtected, isPublic, isRecord, toStringMethods inherited from class org.wurbelizer.wurblet.AbstractWurblet
cleanup, getConfiguration, getContainer, getGuardName, getPhase, process, setConfiguration, setContainer, setPhase
-
Constructor Details
-
Declare
public Declare()
-
-
Method Details
-
run
public void run() throws org.wurbelizer.wurbel.WurbelException- Specified by:
runin interfaceorg.wurbelizer.wurblet.Wurblet- Overrides:
runin classDbModelWurblet- Throws:
org.wurbelizer.wurbel.WurbelException
-