org.apache.cayenne.modeler.graph.DbEntityCellMetadata.class Maven / Gradle / Ivy
???? 7 V
3org/apache/cayenne/modeler/graph/EntityCellMetadata Q(Lorg/apache/cayenne/modeler/graph/GraphBuilder;Lorg/apache/cayenne/map/Entity;)V
5org/apache/cayenne/modeler/graph/DbEntityCellMetadata builder /Lorg/apache/cayenne/modeler/graph/GraphBuilder; -org/apache/cayenne/modeler/graph/GraphBuilder
getDataDomain :()Lorg/apache/cayenne/configuration/DataChannelDescriptor;
6org/apache/cayenne/configuration/DataChannelDescriptor getDataMaps ()Ljava/util/Collection; java/util/Collection iterator ()Ljava/util/Iterator; ! " # $ java/util/Iterator hasNext ()Z & ' ( next ()Ljava/lang/Object; * org/apache/cayenne/map/DataMap , - .
entityName Ljava/lang/String;
) 0 1 2 getDbEntity 5(Ljava/lang/String;)Lorg/apache/cayenne/map/DbEntity;
4 5 6 7 $ "org/apache/cayenne/map/DbAttribute isPrimaryKey
9 : ; isPrimary '(Lorg/apache/cayenne/map/DbAttribute;)Z
= > ? fetchEntity #()Lorg/apache/cayenne/map/DbEntity; U(Lorg/apache/cayenne/modeler/graph/DbGraphBuilder;Lorg/apache/cayenne/map/DbEntity;)V Code LineNumberTable LocalVariableTable this 7Lorg/apache/cayenne/modeler/graph/DbEntityCellMetadata; 1Lorg/apache/cayenne/modeler/graph/DbGraphBuilder; entity !Lorg/apache/cayenne/map/DbEntity; dbEntity dm Lorg/apache/cayenne/map/DataMap;
StackMapTable attr $Lorg/apache/cayenne/map/DbAttribute; %(Lorg/apache/cayenne/map/Attribute;)Z MethodParameters !()Lorg/apache/cayenne/map/Entity; Signature ?Lorg/apache/cayenne/modeler/graph/EntityCellMetadata;
SourceFile DbEntityCellMetadata.java @ A I *+,? ? B
C D E F G H > ? A ? 9*? ?
? ? L+? ? +? % ? )M,*? +? /N-? -????? B $ % % . &