ijgen.generator.annotations
Annotation Type GeneratedLayers


@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface GeneratedLayers

Annotation containing information that instructs the generator which templates to execute for which models. Additionally it allows for the user to define custom suffixes for file names instead the default ones that are created by the generator. Set of attributes: 1.skipLayers: a comma separated list of template names that has to be skipped by the generator for this domain class. Not mandatory, default value is empty list. Example: skipLayers = "dto, service" means that generator will not execute templates with names "dto" and "service" for this domain class 2.layersFileNameSuffixes: a comma separated list of pairs of type key=value, where the "key" if the name of the layer for which user wants specific file name suffix and "value" is the suffix itself. Not mandatory, default value is empty list. Example: layersFileNameSuffixes = "dto=MyDto". In this case generator will generate filename ClassNameMyDto instead the default one ClassNameDto.

Author:
Detelin Zlatev

Optional Element Summary
 java.lang.String layersFileNameSuffixes
           
 java.lang.String skipLayers
           
 

skipLayers

public abstract java.lang.String skipLayers
Default:
""

layersFileNameSuffixes

public abstract java.lang.String layersFileNameSuffixes
Default:
""


Copyright © 2010 Detelin Zlatev. All Rights Reserved.