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

org.apache.cayenne.project.upgrade.DefaultUpgradeService.class Maven / Gradle / Ivy

There is a newer version: 5.0-M1
Show newest version
????4I
u$%
?&
'	()*+,+-.	/
01
$
2
34
#5
678
?9
:	;<
=	;>	;?	;@
#AB
$
CD*F!GH!I)J
K
L
M)NO
*P
Q
R4S
TU
*V
W)X
YZ)[	\	]^*
_
`
abc	d	efgh
@$
<ij
@k
Cl
m	nop
qr
qst
*u	vwxyzO{O|}
R$~
R??
R?4??	?????
]??
T?
_?
??
??
????
f?
??
T??????
l???
???
p?????
s?
f??
T?
#?
RY
#?
R?
??
??
???RootTagHandlerInnerClasses?VersionComparatorloggerLorg/slf4j/Logger;UNKNOWN_VERSIONLjava/lang/String;
ConstantValueMIN_SUPPORTED_VERSIONhandlersLjava/util/TreeMap;	SignaturecLjava/util/TreeMap;projectSaver)Lorg/apache/cayenne/project/ProjectSaver;RuntimeVisibleAnnotationsLorg/apache/cayenne/di/Inject;loader>Lorg/apache/cayenne/configuration/DataChannelDescriptorLoader;(Ljava/util/List;)VCodeLineNumberTableLocalVariableTablehandler;
StackMapTable7??Q(Ljava/util/List;)V"RuntimeVisibleParameterAnnotationsgetUpgradeType\(Lorg/apache/cayenne/resource/Resource;)Lorg/apache/cayenne/project/upgrade/UpgradeMetaData;resource&Lorg/apache/cayenne/resource/Resource;metaData4Lorg/apache/cayenne/project/upgrade/UpgradeMetaData;versionc1Ic21HgetHandlersForVersion$(Ljava/lang/String;)Ljava/util/List;entryEntryLjava/util/Map$Entry;foundZeLjava/util/Map$Entry;Fb(Ljava/lang/String;)Ljava/util/List;upgradeProjectN(Lorg/apache/cayenne/resource/Resource;)Lorg/apache/cayenne/resource/Resource;upgradeUnitsconfigurationTree4Lorg/apache/cayenne/configuration/ConfigurationTree;BLjava/util/List;nLorg/apache/cayenne/configuration/ConfigurationTree;
upgradeDOMH(Lorg/apache/cayenne/resource/Resource;Ljava/util/List;)Ljava/util/List;dataMapResourcedataMapUnit0Lorg/apache/cayenne/project/upgrade/UpgradeUnit;allUnitsprojectDocumentLorg/w3c/dom/Document;projectUnitdataMapResourcesdataMapUnits8Ljava/util/List;Z?O.?(Lorg/apache/cayenne/resource/Resource;Ljava/util/List;)Ljava/util/List;saveDOM(Ljava/util/Collection;)VunitLjava/util/Collection;HLjava/util/Collection;K(Ljava/util/Collection;)VupgradeModell(Lorg/apache/cayenne/resource/Resource;Ljava/util/List;)Lorg/apache/cayenne/configuration/ConfigurationTree;??(Lorg/apache/cayenne/resource/Resource;Ljava/util/List;)Lorg/apache/cayenne/configuration/ConfigurationTree;loadProject\(Lorg/apache/cayenne/resource/Resource;)Lorg/apache/cayenne/configuration/ConfigurationTree;dataMap Lorg/apache/cayenne/map/DataMap;resolver'Lorg/apache/cayenne/map/EntityResolver;h?(Lorg/apache/cayenne/resource/Resource;)Lorg/apache/cayenne/configuration/ConfigurationTree;	saveModel7(Lorg/apache/cayenne/configuration/ConfigurationTree;)Vproject$Lorg/apache/cayenne/project/Project;q(Lorg/apache/cayenne/configuration/ConfigurationTree;)VgetAdditionalDatamapResourcesB(Lorg/apache/cayenne/project/upgrade/UpgradeUnit;)Ljava/util/List;mapNodeLorg/w3c/dom/Node;mapResourceixpathLjavax/xml/xpath/XPath;nodesLorg/w3c/dom/NodeList;exLjava/lang/Exception;upgradeUnit	resources?z?j(Lorg/apache/cayenne/project/upgrade/UpgradeUnit;)Ljava/util/List;saveDocument3(Lorg/apache/cayenne/project/upgrade/UpgradeUnit;)VinputLjavax/xml/transform/Source;outputLjavax/xml/transform/Result;transformer!Ljavax/xml/transform/Transformer;loadProjectVersion:(Lorg/apache/cayenne/resource/Resource;)Ljava/lang/String;parserLorg/xml/sax/XMLReader;inLjava/io/InputStream;erootHandlerILorg/apache/cayenne/project/upgrade/DefaultUpgradeService$RootTagHandler;urlLjava/net/URL;?????
decodeVersion(Ljava/lang/String;)DnextCharCbufferLjava/lang/StringBuilder;dotProcessed}()V
SourceFileDefaultUpgradeService.java?!java/util/TreeMap??????????????:org/apache/cayenne/project/upgrade/handlers/UpgradeHandler????2org/apache/cayenne/project/upgrade/UpgradeMetaData	??"org/apache/cayenne/project/Project????8org/apache/cayenne/project/upgrade/DefaultUpgradeService6?????????????????java/util/ArrayList????java/util/Map$Entry??java/lang/String????????????.org/apache/cayenne/project/upgrade/UpgradeUnit???????????????????$org/apache/cayenne/resource/Resource??????????6org/apache/cayenne/configuration/DataChannelDescriptor???????%org/apache/cayenne/map/EntityResolver??org/apache/cayenne/map/DataMap???????/domain/map/@name	

?org/w3c/dom/NodeList?java/lang/StringBuilder?.map.xml?java/lang/Exception??(Can't get additional dataMap resources: !javax/xml/transform/dom/DOMSource?'javax/xml/transform/stream/StreamResult? !"#$%&'Can't save the document: Gorg/apache/cayenne/project/upgrade/DefaultUpgradeService$RootTagHandler?(?)*+,-./01org/xml/sax/InputSource?234?5!java/lang/Throwable67org/xml/sax/SAXException)org/apache/cayenne/ConfigurationException#Error reading configuration from %sjava/lang/Object?89:0;<=?>?@ABCDEFGH1org/apache/cayenne/project/upgrade/UpgradeServiceJorg/apache/cayenne/project/upgrade/DefaultUpgradeService$VersionComparatorjava/util/Listjava/util/Iteratororg/w3c/dom/Document2org/apache/cayenne/configuration/ConfigurationTreejavax/xml/xpath/XPathjava/net/URLjava/io/InputStream
access$000N()Lorg/apache/cayenne/project/upgrade/DefaultUpgradeService$VersionComparator;(Ljava/util/Comparator;)Viterator()Ljava/util/Iterator;hasNext()Znext()Ljava/lang/Object;
getVersion()Ljava/lang/String;put8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;setProjectVersion(Ljava/lang/String;)VvalueOf(I)Ljava/lang/String;setSupportedVersioncompare'(Ljava/lang/String;Ljava/lang/String;)IsetIntermediateUpgradeVersion.org/apache/cayenne/project/upgrade/UpgradeTypeINTERMEDIATE_UPGRADE_NEEDED0Lorg/apache/cayenne/project/upgrade/UpgradeType;setUpgradeType3(Lorg/apache/cayenne/project/upgrade/UpgradeType;)VDOWNGRADE_NEEDEDUPGRADE_NOT_NEEDEDUPGRADE_NEEDEDequals(Ljava/lang/Object;)ZentrySet()Ljava/util/Set;
java/util/Set
java/util/MapgetKeygetValueaddget(I)Ljava/lang/Object;getResource(()Lorg/apache/cayenne/resource/Resource;getURL()Ljava/net/URL;org/apache/cayenne/util/UtilreadDocument&(Ljava/net/URL;)Lorg/w3c/dom/Document;?(Lorg/apache/cayenne/resource/Resource;Lorg/w3c/dom/Document;)Vsize()I(I)VaddAll(Ljava/util/Collection;)ZprocessProjectDomprocessDataMapDomjava/util/CollectiongetRootNode6()Lorg/apache/cayenne/configuration/ConfigurationNode;processModel;(Lorg/apache/cayenne/configuration/DataChannelDescriptor;)Vk? ,??????????????????$??????? p?Y?
M*+?N,-?,
???-?6?,?,??,??
?-?6?
,????
,???
,??,??Boqrsu'v,w2x9y;|I}N~X]?g?n??>p??p??h??b??'I??I'????;??????c+?=?Y?N*??? :??=??!:?"?#+??=???????-?$?%W???-??.???3?D?F?I?M?P?^?a??43+??c??c??\??T???3+??T???????+????????4**+??&M*+,?'N*-?(-?)?*?+L*+,?,:*?-+???
???$?,?2??44??4??
*??#??,??? 
*??#??,?????ݻY?N+?.?/:?*Y+?0:-?%W*?1:?Y?2?3:?:??-??4:	?*Y		?.?/?0?%W???-?5W,?:??F??	:		?6?:

??
??*:	?7?????-??F????(?0?@?_?z?}????????????????p_??	?	???4??	??????????????????0???@????*??????0???@????<?I	??????????3???'???!???????#+?8M,??,??*N*-?9???????"?? ??#??#???#????????????7*+?:N,?:?? ??	:-?;?+??M?@Y?AN,?;??># (3?????????r?	?	ĻfY*?gM+?.N-?h::?i:,?j,?k?lY?m?n?U??o?H:?q?<?o?4::?:?!??o?:?q??o??:?:?sYt?uY-S?v?,?w?
,?w?x?HMPp>dp>my~?pdom??r??Y?B	
&.>dm???????H 

????????	???j
?P??GH??????BD?
A???`*?
*?y???RY*?z?{L=>*?z?6*?|6.??=+.?}W??~?
+?}W????+?W???6

#$%%&,'7(9)C*K+R%X/?4,&;??`??GE????%?? !?!	???Z??Z"#?f???
!E?	




© 2015 - 2024 Weber Informatics LLC | Privacy Policy