org.apache.cayenne.lifecycle.id.IdCoder.class Maven / Gradle / Ivy
???? 1 u
? @ A
? B
C
D
E F G
H I J
K L
M N O P
Q N R
S T U V
? W
X Y
Z
H
[ \ ] entityResolver 'Lorg/apache/cayenne/map/EntityResolver; coders Ljava/util/Map; Signature RLjava/util/Map; *(Lorg/apache/cayenne/map/EntityResolver;)V Code LineNumberTable LocalVariableTable this )Lorg/apache/cayenne/lifecycle/id/IdCoder; getObjectId 1(Ljava/lang/String;)Lorg/apache/cayenne/ObjectId; id Ljava/lang/String;
entityName coder /Lorg/apache/cayenne/lifecycle/id/EntityIdCoder; getStringId 3(Lorg/apache/cayenne/Persistent;)Ljava/lang/String;
referenceable Lorg/apache/cayenne/Persistent; Lorg/apache/cayenne/ObjectId; getCoder C(Ljava/lang/String;)Lorg/apache/cayenne/lifecycle/id/EntityIdCoder; createCoder entity "Lorg/apache/cayenne/map/ObjEntity;
SourceFile IdCoder.java % ^ &java/util/concurrent/ConcurrentHashMap ! " _ ` 8 9 a - java/lang/NullPointerException Null object % b c , d e _ f g h i j k -org/apache/cayenne/lifecycle/id/EntityIdCoder : 9 l m n o p "java/lang/IllegalArgumentException java/lang/StringBuilder Entity ' q r ' is not mapped s f % t 'org/apache/cayenne/lifecycle/id/IdCoder java/lang/Object ()V
getEntityName &(Ljava/lang/String;)Ljava/lang/String;
toObjectId (Ljava/lang/String;)V org/apache/cayenne/Persistent ()Lorg/apache/cayenne/ObjectId; org/apache/cayenne/ObjectId ()Ljava/lang/String;
toStringId 1(Lorg/apache/cayenne/ObjectId;)Ljava/lang/String;
java/util/Map get &(Ljava/lang/Object;)Ljava/lang/Object; put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; %org/apache/cayenne/map/EntityResolver getObjEntity 6(Ljava/lang/String;)Lorg/apache/cayenne/map/ObjEntity; append -(Ljava/lang/String;)Ljava/lang/StringBuilder; toString %(Lorg/apache/cayenne/map/ObjEntity;)V ! ! " # $ % &