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

org.apache.cayenne.dbsync.reverse.dbload.RelationshipLoader.class Maven / Gradle / Ivy

There is a newer version: 5.0-M1
Show newest version
????4t
Z?	Y?	Y?
??
????????	Y????
??
?	??
???	????
?
?
?
q?
???
?
?
??
!?
q?
!?
!?
!?
!?
Y?
Y?
Y?
?
?
Y?
Y?
????
??
??
?
??
?
??
??
??
?
??
??
?
??
??????
??
A?
?
A?	Y???
??
??????
A
?
q
??
Y

A	



LOGGERLorg/slf4j/Logger;
nameGenerator6Lorg/apache/cayenne/dbsync/naming/ObjectNameGenerator;?(Lorg/apache/cayenne/dbsync/reverse/dbload/DbLoaderConfiguration;Lorg/apache/cayenne/dbsync/reverse/dbload/DbLoaderDelegate;Lorg/apache/cayenne/dbsync/naming/ObjectNameGenerator;)VCodeLineNumberTableLocalVariableTablethis=Lorg/apache/cayenne/dbsync/reverse/dbload/RelationshipLoader;config@Lorg/apache/cayenne/dbsync/reverse/dbload/DbLoaderConfiguration;delegate;Lorg/apache/cayenne/dbsync/reverse/dbload/DbLoaderDelegate;loadX(Ljava/sql/DatabaseMetaData;Lorg/apache/cayenne/dbsync/reverse/dbload/DbLoadDataStore;)VexportedKeysLjava/util/Set;key6Lorg/apache/cayenne/dbsync/reverse/dbload/ExportedKey;PKKeyDataInnerClasses>Lorg/apache/cayenne/dbsync/reverse/dbload/ExportedKey$KeyData;FKpkEntity!Lorg/apache/cayenne/map/DbEntity;fkEntityforwardRelationship'Lorg/apache/cayenne/map/DbRelationship;reverseRelationshipALorg/apache/cayenne/dbsync/reverse/dbload/DbRelationshipDetected;
toDependentPKZtoManyentryEntryLjava/util/Map$Entry;metaDataLjava/sql/DatabaseMetaData;map:Lorg/apache/cayenne/dbsync/reverse/dbload/DbLoadDataStore;LocalVariableTypeTableGLjava/util/Set;pLjava/util/Map$Entry;>;
StackMapTable
ExceptionssetRelationshipNameK(Lorg/apache/cayenne/map/DbEntity;Lorg/apache/cayenne/map/DbRelationship;)VentityrelationshipcheckAndAddRelationshipjoinLorg/apache/cayenne/map/DbJoin;sourceTableFilter7Lorg/apache/cayenne/dbsync/reverse/filters/TableFilter;targetTableFilterisToManyL(ZLorg/apache/cayenne/map/DbEntity;Lorg/apache/cayenne/map/DbRelationship;)ZisToDependentPK*(Lorg/apache/cayenne/map/DbRelationship;)ZdbJoincreateAndAppendJoins?(Ljava/util/Set;Lorg/apache/cayenne/map/DbEntity;Lorg/apache/cayenne/map/DbEntity;Lorg/apache/cayenne/map/DbRelationship;Lorg/apache/cayenne/map/DbRelationship;)VpkNameLjava/lang/String;fkNamepkAtt$Lorg/apache/cayenne/map/DbAttribute;fkAttexportedKey	Signature?(Ljava/util/Set;Lorg/apache/cayenne/map/DbEntity;Lorg/apache/cayenne/map/DbEntity;Lorg/apache/cayenne/map/DbRelationship;Lorg/apache/cayenne/map/DbRelationship;)VaddJoinN(Lorg/apache/cayenne/map/DbRelationship;Ljava/lang/String;Ljava/lang/String;)V
sourceName
targetName()V
SourceFileRelationshipLoader.java_]^fg !"#java/util/Map$Entry[\$%java/lang/StringBuilder_?Process keys for: &'("java/lang/String)*+,-"
java/util/Set4org/apache/cayenne/dbsync/reverse/dbload/ExportedKeyjava/lang/IllegalStateException./0/1*23%org/apache/cayenne/map/DbRelationship4565?org/apache/cayenne/dbsync/reverse/dbload/DbRelationshipDetected7*8,9:??????;:????<=>?@ABCD*E,FGHIJ*K*LMNOIPQRSTUVWXorg/apache/cayenne/map/DbJoinYQZ*[*\*hi]^_`abcdefghij*kl'no attribute for declared primary key: m,'no attribute for declared foreign key: ??no_??p1org/apache/cayenne/dbsync/reverse/dbload/DbLoaderqrs;org/apache/cayenne/dbsync/reverse/dbload/RelationshipLoader7org/apache/cayenne/dbsync/reverse/dbload/AbstractLoaderorg/apache/cayenne/dbsync/reverse/dbload/DbLoaderConfigurationisSkipRelationshipsLoading()ZgetExportedKeysEntrySet()Ljava/util/Set;iterator()Ljava/util/Iterator;hasNextnext()Ljava/lang/Object;
java/util/Maporg/slf4j/LoggerisDebugEnabledappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;getKeytoString()Ljava/lang/String;debug(Ljava/lang/String;)VgetValuegetPk@()Lorg/apache/cayenne/dbsync/reverse/dbload/ExportedKey$KeyData;getFkgetTablegetDbEntity5(Ljava/lang/String;)Lorg/apache/cayenne/map/DbEntity;setSourceEntity"(Lorg/apache/cayenne/map/Entity;)VsetTargetEntityNamegetName	setFkName	setToMany(Z)VsetToDependentPK,org/apache/cayenne/dbsync/naming/NameBuilderbuilder?(Lorg/apache/cayenne/configuration/ConfigurationNode;Lorg/apache/cayenne/configuration/ConfigurationNode;)Lorg/apache/cayenne/dbsync/naming/NameBuilder;4org/apache/cayenne/dbsync/naming/ObjectNameGeneratorrelationshipName<([Lorg/apache/cayenne/map/DbRelationship;)Ljava/lang/String;baseNameB(Ljava/lang/String;)Lorg/apache/cayenne/dbsync/naming/NameBuilder;namesetNamegetFiltersConfig;()Lorg/apache/cayenne/dbsync/reverse/filters/FiltersConfig;getSourceEntity#()Lorg/apache/cayenne/map/DbEntity;
getCatalog	getSchema7org/apache/cayenne/dbsync/reverse/filters/FiltersConfigtableFilter](Ljava/lang/String;Ljava/lang/String;)Lorg/apache/cayenne/dbsync/reverse/filters/TableFilter;getTargetEntity!getIncludeTableRelationshipFilterM(Ljava/lang/String;)Lorg/apache/cayenne/dbsync/reverse/filters/PatternFilter;7org/apache/cayenne/dbsync/reverse/filters/PatternFilter
isIncluded(Ljava/lang/String;)ZgetJoins()Ljava/util/List;java/util/ListisEmptygetIncludeTableColumnFilter
getSourceNamegetTargetEntityName
getTargetName9org/apache/cayenne/dbsync/reverse/dbload/DbLoaderDelegatedbRelationshipLoadedK(Lorg/apache/cayenne/map/DbEntity;Lorg/apache/cayenne/map/DbRelationship;)ZaddRelationship((Lorg/apache/cayenne/map/Relationship;)VgetPrimaryKeys()Ljava/util/Collection;java/util/Collectionsize()I	getTarget&()Lorg/apache/cayenne/map/DbAttribute;isPrimaryKey	getColumngetAttribute8(Ljava/lang/String;)Lorg/apache/cayenne/map/DbAttribute;infoequals(Ljava/lang/Object;)Z"(Lorg/apache/cayenne/map/DbJoin;)Vorg/slf4j/LoggerFactory	getLogger%(Ljava/lang/Class;)Lorg/slf4j/Logger;!YZ[\]^	_`a]
*+,?*-??b-./c*
de
fg
hi
]^jka?J*????,??N-??.-??	:?
??'?
?Y?
????????:???:??Y???:?:,??:	,??:
	?
??Y???Y?:	?
? ?!Y?":?#?$
?%	?&?'*	
?(*?)6
*

?*6
?+?,*	?-*
?-*	?.*
?.??ϱb?"3
47)849X<d=u>z??B?C?D?E?F?H?M?N?O?S?T?U?V?W?Y[\^_&d.e6g>hFiIjc?d?lmu?no??pt??ut??vw	??xw
??yz?n{|:}~
.~)??JdeJ??J???d?l?)???Q?	??B	?)?-Y???	qq????Y??????as!,,+?/*??Y,S?0?1?2?3?bmnopm qc !de!?w!?z??a??*??4,?5?6,?5?7?8N*??4,?9?6,?9?7?8:-?-+?:?;,?????-?T?O,?>?@:??:??A:-+?:?B?C?=?,?D?B?E?=?????*?F+,?G?+,?H?bJtuw!x3{@|I}J?V?W?`???????????????c>?(???de??w??z???3?????J?????<A????as?,?I?J-?>?K???b?c*de}~xwyz?@??a?.+?>?@M,??,??AN-?L?M??????b??'?)?,?c ??.de.yz??
????a??+?:?????:??N:??N:	,?O:

?"?
?Y?
P????Q???-	?O:?"?
?Y?
R?	???Q???*	?S*	?S??j?b>??(?2?:???[?^?f?k???????????cp(v??2l??	:d??
f8????o?de?lm?vw?xw?yz?{z??l??O???UY?????+??Y??????a?L+?>?@:??+??A:?C,?T??E-?T?????+?AY+,-?U?V?b?!?9?:?=?K?c4!??LdeL?zL??L?????.???a!	W?X?
?b(??sqr		??	




© 2015 - 2024 Weber Informatics LLC | Privacy Policy