org.apache.cayenne.lifecycle.relationship.ObjectIdRelationshipHandler.class Maven / Gradle / Ivy
The newest version!
???? 7 ?
java/lang/Object ()V
Eorg/apache/cayenne/lifecycle/relationship/ObjectIdRelationshipHandler referenceableHandler )Lorg/apache/cayenne/lifecycle/id/IdCoder; makeConcatWithConstants &(Ljava/lang/String;)Ljava/lang/String; org/apache/cayenne/Persistent getClass ()Ljava/lang/Class; >org/apache/cayenne/lifecycle/relationship/ObjectIdRelationship
java/lang/Class
getAnnotation 4(Ljava/lang/Class;)Ljava/lang/annotation/Annotation; "java/lang/IllegalArgumentException
# $ % getName ()Ljava/lang/String;
( ) (Ljava/lang/String;)V + , % value . / 0 getObjectContext $()Lorg/apache/cayenne/ObjectContext; 2 'from' has null ObjectContext
4 5 6 objectIdPropertyName 3(Lorg/apache/cayenne/Persistent;)Ljava/lang/String;
8 9 objectIdRelationshipName ; 'to' has null ObjectContext = B'from' and 'to' objects are registered in different ObjectContexts ? @ A writePropertyDirectly '(Ljava/lang/String;Ljava/lang/Object;)V C D E getObjectId ()Lorg/apache/cayenne/ObjectId; G H I J K org/apache/cayenne/ObjectId isTemporary ()Z G M N K isReplacementIdAttached P Horg/apache/cayenne/lifecycle/relationship/ObjectIdPropagatedValueFactory
O R S K(Lorg/apache/cayenne/lifecycle/id/IdCoder;Lorg/apache/cayenne/Persistent;)V U V A
writeProperty
X Y Z [ 6 'org/apache/cayenne/lifecycle/id/IdCoder getStringId ,(Lorg/apache/cayenne/lifecycle/id/IdCoder;)V Code LineNumberTable LocalVariableTable this GLorg/apache/cayenne/lifecycle/relationship/ObjectIdRelationshipHandler; uuidPropertyName Ljava/lang/String; object Lorg/apache/cayenne/Persistent;
annotation @Lorg/apache/cayenne/lifecycle/relationship/ObjectIdRelationship;
StackMapTable relate A(Lorg/apache/cayenne/Persistent;Lorg/apache/cayenne/Persistent;)V uuid from to property relationship q java/lang/String
SourceFile ObjectIdRelationshipHandler.java BootstrapMethods v
cay:related: x 7Object class is not annotated with @UuidRelationship: z
{ | } ~ $java/lang/invoke/StringConcatFactory ?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite; InnerClasses ? %java/lang/invoke/MethodHandles$Lookup ? java/lang/invoke/MethodHandles Lookup ! \ ] F
*? *+? ? ^ ! _
` a
9 ] ; +?
? ^ $ _ ` a b c 5 6 ] ? 0+? ? ? M,? ? Y+? ! ? "? &