org.apache.cayenne.commitlog.DeletedDiffProcessor$1.class Maven / Gradle / Ivy
???? 7 ? 3org/apache/cayenne/commitlog/DeletedDiffProcessor$1 this$0 3Lorg/apache/cayenne/commitlog/DeletedDiffProcessor;
val$entity 3Lorg/apache/cayenne/commitlog/meta/CommitLogEntity;
val$row Lorg/apache/cayenne/DataRow; val$objectChangeSet 8Lorg/apache/cayenne/commitlog/model/MutableObjectChange;
java/lang/Object ()V ,org/apache/cayenne/reflect/AttributeProperty getName ()Ljava/lang/String; ! " # $ 1org/apache/cayenne/commitlog/meta/CommitLogEntity
isIncluded (Ljava/lang/String;)Z & ' $ isConfidential
) * + , - )org/apache/cayenne/commitlog/Confidential getInstance -()Lorg/apache/cayenne/commitlog/Confidential; / 0 1 getAttribute '()Lorg/apache/cayenne/map/ObjAttribute;
3 4 5 6 #org/apache/cayenne/map/ObjAttribute getDbAttributeName
8 9 : ; < org/apache/cayenne/DataRow get &(Ljava/lang/Object;)Ljava/lang/Object;
> ? @ A B 6org/apache/cayenne/commitlog/model/MutableObjectChange attributeChanged 9(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V D E (org/apache/cayenne/reflect/ToOneProperty D G H I getRelationship *()Lorg/apache/cayenne/map/ObjRelationship;
K L M N O &org/apache/cayenne/map/ObjRelationship getDbRelationships ()Ljava/util/List; Q R S ; T java/util/List (I)Ljava/lang/Object; V %org/apache/cayenne/map/DbRelationship D X Y Z getTargetDescriptor .()Lorg/apache/cayenne/reflect/ClassDescriptor; \ ] ^ _ ` *org/apache/cayenne/reflect/ClassDescriptor getEntity $()Lorg/apache/cayenne/map/ObjEntity;
b c org/apache/cayenne/map/ObjEntity
8 e f g createTargetObjectId X(Ljava/lang/String;Lorg/apache/cayenne/map/DbRelationship;)Lorg/apache/cayenne/ObjectId;
> i j k toOneRelationshipDisconnected 2(Ljava/lang/String;Lorg/apache/cayenne/ObjectId;)V m *org/apache/cayenne/reflect/PropertyVisitor ?(Lorg/apache/cayenne/commitlog/DeletedDiffProcessor;Lorg/apache/cayenne/commitlog/meta/CommitLogEntity;Lorg/apache/cayenne/DataRow;Lorg/apache/cayenne/commitlog/model/MutableObjectChange;)V Code LineNumberTable LocalVariableTable this 5Lorg/apache/cayenne/commitlog/DeletedDiffProcessor$1; MethodParameters Signature visitAttribute 1(Lorg/apache/cayenne/reflect/AttributeProperty;)Z value Ljava/lang/Object; key Ljava/lang/String; property .Lorg/apache/cayenne/reflect/AttributeProperty;
StackMapTable
visitToOne -(Lorg/apache/cayenne/reflect/ToOneProperty;)Z *Lorg/apache/cayenne/reflect/ToOneProperty; dbRelationship 'Lorg/apache/cayenne/map/DbRelationship; Lorg/apache/cayenne/ObjectId; ? org/apache/cayenne/ObjectId visitToMany .(Lorg/apache/cayenne/reflect/ToManyProperty;)Z +Lorg/apache/cayenne/reflect/ToManyProperty;
SourceFile DeletedDiffProcessor.java EnclosingMethod ? 1org/apache/cayenne/commitlog/DeletedDiffProcessor ? ? nodeRemoved (Ljava/lang/Object;)V NestHost InnerClasses l
n o N *+? *,? *-? *? *? ? p M q r s t ? u v w o ? U*? +? ? ? ?*? +? ? % ?
? (M? +? . ? 2N*? -? 7M,? *? +? ,? =? p &