All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.cayenne.tools.CayenneGeneratorTask.class Maven / Gradle / Ivy

The newest version!
????7<
$org/apache/cayenne/tools/CayenneTask()V
	
-org/apache/cayenne/tools/CayenneGeneratorTaskvalidateAttributes

java/lang/Thread
currentThread()Ljava/lang/Thread;

getContextClassLoader()Ljava/lang/ClassLoader;-org/apache/cayenne/tools/ToolsInjectorBuilder
;org/apache/cayenne/dbsync/reverse/configuration/ToolsModule
 org/slf4j/LoggerFactory	getLogger%(Ljava/lang/Class;)Lorg/slf4j/Logger;
"#(Lorg/slf4j/Logger;)V
%&'	addModuleO(Lorg/apache/cayenne/di/Module;)Lorg/apache/cayenne/tools/ToolsInjectorBuilder;
)*+create"()Lorg/apache/cayenne/di/Injector;	-./injector Lorg/apache/cayenne/di/Injector;1"org/apache/cayenne/tools/AntLogger
034(Lorg/apache/tools/ant/Task;)V	678logger$Lorg/apache/cayenne/tools/AntLogger;:8org/apache/cayenne/tools/CayenneGeneratorMapLoaderAction
9<=#(Lorg/apache/cayenne/di/Injector;)V	?@AmapLjava/io/File;
9CDEsetMainDataMapFile(Ljava/io/File;)V	GHIadditionalMaps[Ljava/io/File;
9KLMsetAdditionalDataMapFiles([Ljava/io/File;)V
OPQRjava/lang/ClassgetClassLoader

TUVsetContextClassLoader(Ljava/lang/ClassLoader;)V
9XYZgetMainDataMap"()Lorg/apache/cayenne/map/DataMap;
\]^createGenerators2(Lorg/apache/cayenne/map/DataMap;)Ljava/util/List;`abcdjava/util/Listiterator()Ljava/util/Iterator;fghijjava/util/IteratorhasNext()Zflmnnext()Ljava/lang/Object;p,org/apache/cayenne/gen/ClassGenerationActionr;org/apache/cayenne/tools/CayenneGeneratorEntityFilterAction
q	uvwincludeEntitiesPatternLjava/lang/String;	yzwexcludeEntitiesPattern
|}~?3org/apache/cayenne/dbsync/filter/NamePatternMatcherbuildm(Lorg/slf4j/Logger;Ljava/lang/String;Ljava/lang/String;)Lorg/apache/cayenne/dbsync/filter/NamePatternMatcher;
q???
setNameFilter0(Lorg/apache/cayenne/dbsync/filter/NameFilter;)V??org/apache/cayenne/tools/CayenneGeneratorEmbeddableFilterAction
?	??wexcludeEmbeddablesPattern
??
o??#	setLogger	???forceZ
o???getCgenConfiguration,()Lorg/apache/cayenne/gen/CgenConfiguration;
?????(org/apache/cayenne/gen/CgenConfigurationsetForce(Z)V
?????java/io/FilelastModified()J
????setTimestamp(J)V
??j	hasConfig	???useConfigFromDataMap
o??prepareArtifacts
q???getFilteredEntities8(Lorg/apache/cayenne/map/DataMap;)Ljava/util/Collection;
o???addEntities(Ljava/util/Collection;)V
????getFilteredEmbeddables
o???addEmbeddables
o???
addDataMap#(Lorg/apache/cayenne/map/DataMap;)V
o??execute?java/lang/Exception?#org/apache/tools/ant/BuildException
???(Ljava/lang/Throwable;)V?java/util/ArrayList
?
??^buildConfigurations?3org/apache/cayenne/gen/ClassGenerationActionFactory?????org/apache/cayenne/di/InjectorgetInstance%(Ljava/lang/Class;)Ljava/lang/Object;????createActionZ(Lorg/apache/cayenne/gen/CgenConfiguration;)Lorg/apache/cayenne/gen/ClassGenerationAction;`???add(Ljava/lang/Object;)Z	??AdestDir	??wencoding	???	makepairsLjava/lang/Boolean;	??wmode	??w
outputPattern	???	overwrite	??wsuperpkg	??w
supertemplate	??wtemplate	?wembeddabletemplate	wembeddablesupertemplate	?
usepkgpath		?createpropertynames	wdatamaptemplate	wdatamapsupertemplate	?createpkproperties	wexternaltoolconfig8org/apache/cayenne/configuration/xml/DataChannelMetaData%org/apache/cayenne/gen/CgenConfigListgetY(Lorg/apache/cayenne/configuration/ConfigurationNode;Ljava/lang/Class;)Ljava/lang/Object;Using cgen config from pom.xml
0!"#info(Ljava/lang/String;)V
%&'cgenConfigFromPomL(Lorg/apache/cayenne/map/DataMap;)Lorg/apache/cayenne/gen/CgenConfiguration;
)*+,-java/util/Collections
singletonList$(Ljava/lang/Object;)Ljava/util/List;/Using cgen config from dataMap
123getAll()Ljava/util/List;5Using default cgen config.
?
?89?
setDataMap
?;<=toPath()Ljava/nio/file/Path;
??@AupdateOutputPath(Ljava/nio/file/Path;)V
?CDEgetEncoding()Ljava/lang/String;
?GH#setEncoding
JKLMjjava/lang/BooleanbooleanValue
?OPjisMakePairs
?RS?setMakePairsUdatamap
WXYZ?java/lang/Stringequals
\]replaceDatamapGenerationMode
?_`EgetArtifactsGenerationMode
?bc#setArtifactsGenerationMode
?efEgetOutputPattern
?hi#setOutputPattern
?kljisOverwrite
?no?setOverwrite
?qrEgetSuperPkg
?tu#setSuperPkgw#org/apache/cayenne/gen/CgenTemplate	yz{|}#org/apache/cayenne/gen/TemplateTypeENTITY_SUPERCLASS%Lorg/apache/cayenne/gen/TemplateType;
v?;(Ljava/lang/String;ZLorg/apache/cayenne/gen/TemplateType;)V
????getSuperTemplate'()Lorg/apache/cayenne/gen/CgenTemplate;
????setSuperTemplate((Lorg/apache/cayenne/gen/CgenTemplate;)V	y??}ENTITY_SUBCLASS
????getTemplate
????setTemplate	y??}EMBEDDABLE_SUPERCLASS
????getEmbeddableSuperTemplate
????setEmbeddableSuperTemplate	y??}EMBEDDABLE_SUBCLASS
????getEmbeddableTemplate
????setEmbeddableTemplate
???jisUsePkgPath
????
setUsePkgPath
???jisCreatePropertyNames
????setCreatePropertyNames	y??}DATAMAP_SUBCLASS
????getDataMapTemplate
????setDataMapTemplate	y??}DATAMAP_SUPERCLASS
????getDataMapSuperTemplate
????setDataMapSuperTemplate
???jisCreatePKProperties
????setCreatePKProperties
???EgetExternalToolConfig
???#setExternalToolConfig	y??}ENTITY_SINGLE_CLASS
y???defaultTemplate	y??}EMBEDDABLE_SINGLE_CLASS	y??}DATAMAP_SINGLE_CLASS	?????.org/apache/cayenne/gen/ArtifactsGenerationModeALL0Lorg/apache/cayenne/gen/ArtifactsGenerationMode;
???EgetLabel?*?
???
getProject ()Lorg/apache/tools/ant/Project;?&either 'map' or 'project' is required.
??#
?????org/apache/tools/ant/types/Pathlist()[Ljava/lang/String;
??
J???valueOf(Z)Ljava/lang/Boolean;CodeLineNumberTableLocalVariableTablethis/Lorg/apache/cayenne/tools/CayenneGeneratorTask;filterEntityAction=Lorg/apache/cayenne/tools/CayenneGeneratorEntityFilterAction;filterEmbeddableActionALorg/apache/cayenne/tools/CayenneGeneratorEmbeddableFilterAction;generatorAction.Lorg/apache/cayenne/gen/ClassGenerationAction;dataMap Lorg/apache/cayenne/map/DataMap;eLjava/lang/Exception;loaderLjava/lang/ClassLoader;
loadAction:Lorg/apache/cayenne/tools/CayenneGeneratorMapLoaderAction;
StackMapTablejava/lang/ClassLoaderorg/apache/cayenne/map/DataMapjava/lang/Throwable
Exceptions
configuration*Lorg/apache/cayenne/gen/CgenConfiguration;actionsLjava/util/List;LocalVariableTypeTable@Ljava/util/List;	Signatureb(Lorg/apache/cayenne/map/DataMap;)Ljava/util/List;cgenConfigurationcgenConfigList'Lorg/apache/cayenne/gen/CgenConfigList;^(Lorg/apache/cayenne/map/DataMap;)Ljava/util/List;setMapsetAdditionalMaps$(Lorg/apache/tools/ant/types/Path;)ViIadditionalMapsPath!Lorg/apache/tools/ant/types/Path;additionalMapFilenames[Ljava/lang/String;)
setDestDirsetMakepairssetSupertemplatesetDataMapSupertemplate
setUsepkgpathsetSuperpkgsetExcludeEntitiessetIncludeEntitiessetExcludeEmbeddablesPatternsetModesetCreatepropertynamessetEmbeddabletemplatesetEmbeddablesupertemplatesetCreatepkpropertiessetExternaltoolconfig
SourceFileCayenneGeneratorTask.java!78vwzw?w@AHI?A?w???w?w???w?w?wwwww?	??????./?w?3*???
bc??????	<*???L*?Y??Y??!?$?(?,*?0Y*?2?5?9Y*?,?;M,*?>?B,*?F?J??N?S,?WN*-?[?_:?e???k?o:?qY?s:*?5*?t*?x?{????Y??:*?5*???{??*?5??*?????????*?>????*???*??????-????-????-???§?T?+?S?N??Y-?ɿ:?+?S??P%?P/%1/??"jlno"p(r4s@uHvPx[z`{?|?}??????????????????
????"?%?&?/?8?;??R????p??`?&	<??1	
@?
??l9f?eoq?$?9I?I?]^??H??Y??M*+?Ϲ_N-?e?--?k??:,*?,ҹ???????W???,????'?C?F??*'H??H@@
?`f?2?j???*????*????*?x??*???z*?t?s*???l*???e*???^*???W*???P*???I*???B*???;*??4*??-*??&*?
?*?
?*??*???
*??????????
??@?^??j*?,???+??M*???*?5? *+?$?(?,?*?5.? *??,?0?*?54? ??Y?6N-+?7-?(??2??#?-?6?:?D?I?N?X?`?e??*`
j??jN
	?6 &'?~$??Y?6M,+?7*???,*??:?>,*???
*??,?B?F,*???
*??I?,?N?Q*???*??T?V?*?[,*???
*??,?^?a,*???
*??,?d?g,*???
*??I?,?j?m,*???
*???,?p?s,*????vY*???x?~?,????,*????vY*?????~?,????,*???vY*????~?,????,*????vY*?????~?,????,*??
*??I?,????,*??
*??I?,????,*?
??vY*?
???~?,????,*?
??vY*?
???~?,????,*??
*??I?,?¶?,*??
*??,?ȶ?,?N?6*???
,?ζѶ?*???
,?ԶѶ?*?
?
,?׶Ѷ?,??z??
???5?N?b?f?|??????????$?E?^?w?????????????????"?? $??$
?%??N????WT????N????WQ????WT????Q????W\????v\????v\????v\????vT????T????\????v\????vT????Q????W]?Z *?ڶ??*?x*??*?t???
????? ???U*?>?*?????Y???????????
?!E?>*+?>??
?????@A"#??-+??M*,????F>,??*?F??Y,2??S??????&,?*$%-??-&'(()
?*?+E?>*+???
????Ao??A	*?????
?	??	??,??A	*?????
?	??	???#?>*+????
 !????w-#?>*+????
'(????w?#?>*+?
??
/0???w.#?>*+?
??
78???w/??A	*?????
>??	??	?0#?>*+????
EF????wH#?>*+???
MN????w1#?>*+?x??
TU???zw2#?>*+?t??
[\???vw3#?>*+????
bc????wi#?>*+???
ij????w4#?>*+???
pq????w5??A	*?????
wx?	??		?6#?>*+????
{|???w7#?>*+???
????w8??A	*?????
???	??	????>*????
???????9#?>*+???
?????w:;




© 2015 - 2024 Weber Informatics LLC | Privacy Policy