org.apache.cayenne.project.validation.DbEntityValidator.class Maven / Gradle / Ivy
???? 3 q
6
7
8
9
: ; <
=
>
? @ A B
C
D E
F G H
? I ; J K L K M N
O P Q R S ()V Code LineNumberTable LocalVariableTable this 9Lorg/apache/cayenne/project/validation/DbEntityValidator; validate T(Lorg/apache/cayenne/map/DbEntity;Lorg/apache/cayenne/validation/ValidationResult;)V entity !Lorg/apache/cayenne/map/DbEntity; validationResult 0Lorg/apache/cayenne/validation/ValidationResult;
validatePK map Lorg/apache/cayenne/map/DataMap;
StackMapTable validateAttributes validateName otherEntity name Ljava/lang/String; T U V N
SourceFile DbEntityValidator.java , " + " ' " W X Y Z [ \ X ] ^ U _ ` 3DbEntity '%s' has no primary key attributes defined java/lang/Object a b c d 'DbEntity '%s' has no attributes defined e f g Unnamed DbEntity h X i j V k l m n org/apache/cayenne/map/DbEntity T o p Duplicate DbEntity name: %s 7org/apache/cayenne/project/validation/DbEntityValidator @org/apache/cayenne/project/validation/ConfigurationNodeValidator java/lang/String org/apache/cayenne/map/DataMap java/util/Iterator
getAttributes ()Ljava/util/Collection; java/util/Collection size ()I getPrimaryKeys
getDataMap "()Lorg/apache/cayenne/map/DataMap; getMappedEntities 9(Lorg/apache/cayenne/map/DbEntity;)Ljava/util/Collection; getName ()Ljava/lang/String;
addFailure j(Lorg/apache/cayenne/validation/ValidationResult;Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;)V org/apache/cayenne/util/Util
isEmptyString (Ljava/lang/String;)Z
getDbEntities iterator ()Ljava/util/Iterator; hasNext ()Z next ()Ljava/lang/Object; equals (Ljava/lang/Object;)Z / *? ? ! " ] *+,? *+,? *+,? ? # $ % &