org.apache.cayenne.gen.DataMapArtifact.class Maven / Gradle / Ivy
???? 7 ?
java/lang/Object ()V
&org/apache/cayenne/gen/DataMapArtifact dataMap Lorg/apache/cayenne/map/DataMap; java/util/LinkedList
selectQueries Ljava/util/Collection; execQueries
queryNames
addQueries (Ljava/util/Collection;)V
! " # java/lang/Class getName ()Ljava/lang/String;
% & org/apache/cayenne/map/DataMap
( ) * + , org/apache/cayenne/util/Util underscoredToJava '(Ljava/lang/String;Z)Ljava/lang/String;
% . / 0 getNameWithDefaultPackage &(Ljava/lang/String;)Ljava/lang/String; 2 #org/apache/cayenne/gen/DataMapUtils
1 5 dataMapUtils 7 8 9 : ; #org/apache/velocity/context/Context put 8(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; = > ? @ A (org/apache/cayenne/gen/DataMapArtifact$1 8$SwitchMap$org$apache$cayenne$gen$ArtifactGenerationMode [I
C D E F G -org/apache/cayenne/gen/ArtifactGenerationMode ordinal ()I I #org/apache/cayenne/gen/TemplateType H K L M DATAMAP_SINGLE_CLASS %Lorg/apache/cayenne/gen/TemplateType; H O P M DATAMAP_SUPERCLASS H R S M DATAMAP_SUBCLASS U V W X Y java/util/Collection iterator ()Ljava/util/Iterator; [ \ ] ^ _ java/util/Iterator hasNext ()Z [ a b c next ()Ljava/lang/Object; e &org/apache/cayenne/map/QueryDescriptor
g h i addQuery +(Lorg/apache/cayenne/map/QueryDescriptor;)V
d k l # getType
n o p q G java/lang/String hashCode s SelectQuery
n u v w equals (Ljava/lang/Object;)Z y ProcedureQuery { SQLTemplate }
EJBQLQuery U ? w add
d ? U ? ? _ isEmpty ? org/apache/cayenne/gen/Artifact DATAMAP_UTILS_KEY Ljava/lang/String;
ConstantValue Signature @Ljava/util/Collection; *Ljava/util/Collection; 9(Lorg/apache/cayenne/map/DataMap;Ljava/util/Collection;)V Code LineNumberTable LocalVariableTable this (Lorg/apache/cayenne/gen/DataMapArtifact; queries LocalVariableTypeTable c(Lorg/apache/cayenne/map/DataMap;Ljava/util/Collection;)V getQualifiedBaseClassName getQualifiedClassName getObject postInitContext ((Lorg/apache/velocity/context/Context;)V context %Lorg/apache/velocity/context/Context; %Lorg/apache/cayenne/gen/DataMapUtils; getTemplateTypes W(Lorg/apache/cayenne/gen/ArtifactGenerationMode;)[Lorg/apache/cayenne/gen/TemplateType; mode /Lorg/apache/cayenne/gen/ArtifactGenerationMode;
StackMapTable query (Lorg/apache/cayenne/map/QueryDescriptor; C(Ljava/util/Collection;)V getSelectQueries ()Ljava/util/Collection; B()Ljava/util/Collection; getExecQueries hasSelectQueries hasExecQueries
hasQueryNames
getQueryNames ,()Ljava/util/Collection;
getDataMap "()Lorg/apache/cayenne/map/DataMap;
SourceFile DataMapArtifact.java NestMembers InnerClasses ! ? ? ? ? 4 ? ? ? ? ? ? ? ? ? 0*? *+? *?
Y? ? *?
Y? ? *?
Y? ? *,? ? ? - . / 0 1 * 2 / 3 ? 0 ? ? 0 0 ? ? 0 ? ? ? ? ? # ? 0 ? ? ? 6 ? ? ? ? # ? = *? *? ? $? '? -? ? : ? ? ? ? c ? , *? ? > ? ? ? ? ? ? Y ? 1Y? 3M+4,? 6 W? ? B C D ? ? ? ? ? 5 ? ? ? ? ? E? <+? B.? 8 '? HY? JS?? HY? NSY? QS?? H? ? G $ I / M @ Q ? E ? ? E ? ? ? $
? ? '+? %+? T M,? Z ? ,? ` ? dN*-? f??? ? V W X # Y &