org.apache.cayenne.dbsync.reverse.dbload.RelationshipLoader.class Maven / Gradle / Ivy
???? 4t
Z ? Y ? Y ?
? ?
? ? ? ? ? ? ? ? Y ? ? ? ?
? ?
? ? ?
? ? ? ? ? ? ?
?
?
?
q ?
? ? ?
?
?
? ?
! ?
q ?
! ?
! ?
! ?
! ?
Y ?
Y ?
Y ?
?
?
Y ?
Y ?
? ? ? ?
? ?
? ?
?
? ?
?
? ?
? ?
? ?
?
? ?
? ?
?
? ?
? ? ? ? ? ?
? ?
A ?
?
A ? Y ? ? ?
? ?
? ? ? ? ? ?
A
?
q
? ?
Y
A
LOGGER Lorg/slf4j/Logger;
nameGenerator 6Lorg/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;)V Code LineNumberTable LocalVariableTable this =Lorg/apache/cayenne/dbsync/reverse/dbload/RelationshipLoader; config @Lorg/apache/cayenne/dbsync/reverse/dbload/DbLoaderConfiguration; delegate ;Lorg/apache/cayenne/dbsync/reverse/dbload/DbLoaderDelegate; load X(Ljava/sql/DatabaseMetaData;Lorg/apache/cayenne/dbsync/reverse/dbload/DbLoadDataStore;)V exportedKeys Ljava/util/Set; key 6Lorg/apache/cayenne/dbsync/reverse/dbload/ExportedKey; PK KeyData InnerClasses >Lorg/apache/cayenne/dbsync/reverse/dbload/ExportedKey$KeyData; FK pkEntity !Lorg/apache/cayenne/map/DbEntity; fkEntity forwardRelationship 'Lorg/apache/cayenne/map/DbRelationship; reverseRelationship ALorg/apache/cayenne/dbsync/reverse/dbload/DbRelationshipDetected;
toDependentPK Z toMany entry Entry Ljava/util/Map$Entry; metaData Ljava/sql/DatabaseMetaData; map :Lorg/apache/cayenne/dbsync/reverse/dbload/DbLoadDataStore; LocalVariableTypeTable GLjava/util/Set; pLjava/util/Map$Entry;>;
StackMapTable
Exceptions setRelationshipName K(Lorg/apache/cayenne/map/DbEntity;Lorg/apache/cayenne/map/DbRelationship;)V entity relationship checkAndAddRelationship join Lorg/apache/cayenne/map/DbJoin; sourceTableFilter 7Lorg/apache/cayenne/dbsync/reverse/filters/TableFilter; targetTableFilter isToMany L(ZLorg/apache/cayenne/map/DbEntity;Lorg/apache/cayenne/map/DbRelationship;)Z isToDependentPK *(Lorg/apache/cayenne/map/DbRelationship;)Z dbJoin createAndAppendJoins ?(Ljava/util/Set;Lorg/apache/cayenne/map/DbEntity;Lorg/apache/cayenne/map/DbEntity;Lorg/apache/cayenne/map/DbRelationship;Lorg/apache/cayenne/map/DbRelationship;)V pkName Ljava/lang/String; fkName pkAtt $Lorg/apache/cayenne/map/DbAttribute; fkAtt exportedKey Signature ?(Ljava/util/Set;Lorg/apache/cayenne/map/DbEntity;Lorg/apache/cayenne/map/DbEntity;Lorg/apache/cayenne/map/DbRelationship;Lorg/apache/cayenne/map/DbRelationship;)V addJoin N(Lorg/apache/cayenne/map/DbRelationship;Ljava/lang/String;Ljava/lang/String;)V
sourceName
targetName ()V
SourceFile RelationshipLoader.java _ ] ^ f g !"# java/util/Map$Entry [ \$% java/lang/StringBuilder _ ? Process keys for: &'(" java/lang/String)*+,-"
java/util/Set 4org/apache/cayenne/dbsync/reverse/dbload/ExportedKey java/lang/IllegalStateException./0/1*23 %org/apache/cayenne/map/DbRelationship4565 ?org/apache/cayenne/dbsync/reverse/dbload/DbRelationshipDetected7*8,9: ? ? ? ? ? ?;: ? ? ? ?<=>?@ABCD*E,FGHIJ*K*LMNOIPQRSTUVWX org/apache/cayenne/map/DbJoinYQZ*[*\* h i]^_`abcdefghij*kl 'no attribute for declared primary key: m, 'no attribute for declared foreign key: ? ?no _ ? ?p 1org/apache/cayenne/dbsync/reverse/dbload/DbLoaderqrs ;org/apache/cayenne/dbsync/reverse/dbload/RelationshipLoader 7org/apache/cayenne/dbsync/reverse/dbload/AbstractLoader