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

org.apache.cayenne.lifecycle.id.EntityIdCoder.class Maven / Gradle / Ivy

There is a newer version: 5.0-M1
Show newest version
????4???
L?
L???
??
?
?
?
L??
L?	?
L?
-?
??	??
?	?
?????????
?
?
?
???
??
?????
$???
$?
??
??????
+????????
??	?????

??
???
@	@
D
?
D?
O
Q
Q 
Q!	??"
L#
$%&'
[?(
)*/0//3
)?	ConverterInnerClassesID_SEPARATORLjava/lang/String;
ConstantValueTEMP_ID_PREFIXTEMP_PREFIX_LENGTHI
entityName
convertersLjava/util/SortedMap;	SignatureeLjava/util/SortedMap;>;idSize
getEntityName&(Ljava/lang/String;)Ljava/lang/String;CodeLineNumberTableLocalVariableTableid	separatorname
StackMapTable%(Lorg/apache/cayenne/map/ObjEntity;)V	attribute%Lorg/apache/cayenne/map/ObjAttribute;e"Ljava/lang/ClassNotFoundException;type$Lorg/apache/cayenne/map/DbAttribute;this/Lorg/apache/cayenne/lifecycle/id/EntityIdCoder;entity"Lorg/apache/cayenne/map/ObjEntity;?45??
toStringId1(Lorg/apache/cayenne/ObjectId;)Ljava/lang/String;Lorg/apache/cayenne/ObjectId;toTempIdStringbBbufferLjava/lang/StringBuilder;6??toPermIdStringvalueLjava/lang/Object;entryEntryLjava/util/Map$Entry;idValuesLjava/util/Map;LocalVariableTypeTableeLjava/util/Map$Entry;>;5Ljava/util/Map;7
toObjectId1(Ljava/lang/String;)Lorg/apache/cayenne/ObjectId;decoded&Ljava/io/UnsupportedEncodingException;stringIdidMaptoksLjava/util/StringTokenizer;

decodeTemp(Ljava/lang/String;)[Bindexc1c2i
byteStringbytes[BcreateL(Ljava/lang/Class;)Lorg/apache/cayenne/lifecycle/id/EntityIdCoder$Converter;Ljava/lang/Class;Ljava/lang/Class<*>;R(Ljava/lang/Class<*>;)Lorg/apache/cayenne/lifecycle/id/EntityIdCoder$Converter<*>;lambda$create$0&(Ljava/lang/String;)Ljava/lang/Object;()V
SourceFileEntityIdCoder.java-org/apache/cayenne/lifecycle/id/EntityIdCoder:89:;"java/lang/IllegalArgumentExceptionjava/lang/StringBuilder~?Invalid String id: <=>?~@AB.CDlmAE4F?nijava/util/TreeMapopGHIJK5LMNO#org/apache/cayenne/map/ObjAttributePMQ?RS??TUVWXYZ[\"org/apache/cayenne/map/DbAttribute]^_;`aEbRc java/lang/ClassNotFoundException*org/apache/cayenne/CayenneRuntimeExceptionCan't instantiate class java/lang/Object~deMEntity has no PK defined: f;ghism6jMkM????t?lmnopqrstu7java/util/Map$EntrylOvwxO7org/apache/cayenne/lifecycle/id/EntityIdCoder$Converteryz??{|UTF-8}~$java/io/UnsupportedEncodingExceptionUnsupported encodingjava/lang/String??{?java/util/HashMap~?java/util/StringTokenizer~??;Invalid String ID for entity : ??{??????java/lang/NullPointerException	Null typejava/lang/Long???BootstrapMethods?????java/lang/Integer??Unsupported ID type:  org/apache/cayenne/map/ObjEntityjava/util/Iteratororg/apache/cayenne/ObjectId
java/util/MapindexOf(Ljava/lang/String;)Ilength()Iappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;toString()Ljava/lang/String;(Ljava/lang/String;)V	substring(II)Ljava/lang/String;
startsWith(Ljava/lang/String;)Z(I)Ljava/lang/String;getName
getAttributes()Ljava/util/Collection;java/util/Collectioniterator()Ljava/util/Iterator;hasNext()Znext()Ljava/lang/Object;isPrimaryKeygetDbAttributeNamegetJavaClass()Ljava/lang/Class;java/util/SortedMapput8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;getDbEntity#()Lorg/apache/cayenne/map/DbEntity;org/apache/cayenne/map/DbEntitygetPrimaryKeys()Ljava/util/List;java/util/ListcontainsKey(Ljava/lang/Object;)ZgetType#org/apache/cayenne/dba/TypesMappinggetJavaBySqlTypeorg/apache/cayenne/util/Util%(Ljava/lang/String;)Ljava/lang/Class;=(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)VisEmptysizejava/lang/Mathceil(D)DisTemporaryisReplacementIdAttachedgetKey()[Borg/apache/cayenne/util/IDUtilappendFormattedByte(Ljava/lang/Appendable;B)V
getIdSnapshot()Ljava/util/Map;entrySet()Ljava/util/Set;
java/util/Setget&(Ljava/lang/Object;)Ljava/lang/Object;getValuetoUuid&(Ljava/lang/Object;)Ljava/lang/String;of3(Ljava/lang/String;[B)Lorg/apache/cayenne/ObjectId;java/net/URLDecoderdecode8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;fromStringIdU(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;)Lorg/apache/cayenne/ObjectId;(I)V'(Ljava/lang/String;Ljava/lang/String;)VcountTokens	nextToken@(Ljava/lang/String;Ljava/util/Map;)Lorg/apache/cayenne/ObjectId;charAt(I)Cjava/lang/Characterdigit(II)Ijava/lang/ClassisAssignableFrom(Ljava/lang/Class;)Z
??
^?;()Lorg/apache/cayenne/lifecycle/id/EntityIdCoder$Converter;
a?
??????????"java/lang/invoke/LambdaMetafactorymetafactory?Lookup?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;valueOf$(Ljava/lang/String;)Ljava/lang/Long;'(Ljava/lang/String;)Ljava/lang/Integer;?%java/lang/invoke/MethodHandles$Lookupjava/lang/invoke/MethodHandles!-hijkij
lmniopqrsm
	tuv?J*?<?
*?d??Y?Y??	*?	?
??*?M,
??,??M,?w89:0=7?@@HCx JyiCzm7{i|
??}~v?*?*+??*?Y??+??M,??-,??N-??*?-?*-??? W???+?!?"?#M,??g,??$N*?-?%?&?J-?'?(:*?-?%*?)?? W?':?+Y?Y?,?	?	?
?-?.????*??/?!?Y?Y?0?	+??	?
??**??1?2o?4??5????*wNFHIK4L;MQOTQtR?S?U?X?V?W?Z?\?]?`ax>4???"???>?itW??????|<?!???/????E????}??#?)??vc+?6?+?7?	*+?8?*+?9?wmnpx??y?|??v?M?Y?M,
?	W,+?:?	W,?	W+?;N-?66?-36,???:??<??@:-?A?B:,?	?C?D?E?	W???,?
?w"????@?O?j?m?x>O??@*??r??ry?j??X???@*??X??|?*????B??v
^+
??"+*??`?`?M*?*,?F?G?+*??`?M*??1?X*??>????@N,H?I:?:?+YK?-?.?*?-?A?L-?C?D?M?N??OY*?5?PN?QY,?R:?S*??1?*?Y?Y?T?	*??	U?	,?	?
??*??>??:??V??@:?V:H?I:?:	?+YK	?-?.?-?A?C?D?M?WW???*?-?X?ZbeJ!Jwb?	??(?6?C?Z?b?e?g?w??????????????!?#?3?R?U?x?
?ib?ig??Z>??w!?i?i#??	=?i3?iD??^??^?i6(?i????????? Z>??D??????|o	(?<?}}???}? ?O?????(?}}????}??}?!?}}????v?E+?l?M>,??5h6+?Y6+`?Y6,?Zx?Z`?T????,?w"?	????(?=?C?xH'?m?m(?m8?mE??E?i	<??|???7??v?Y+?
?[Y\?]?^+?_?	?`?a+?_?	?b?L+?_?	?c??Y?Y?d?	+?e?	?
??w&	?????&?,?5?;?xY??Y???Y??|q?
??v,*?w?x?i??v!	
???w1??gDf@	?	???+ ,-.-,-1-,-2-




© 2015 - 2024 Weber Informatics LLC | Privacy Policy