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

org.apache.cayenne.project.validation.DbRelationshipValidator.class Maven / Gradle / Ivy

There is a newer version: 5.0-M1
Show newest version
????4?
Fy
7z{|
E}
E~
7??????????

?

????
7?
7??
7?
???
7?
???
??
???
E?
E?
E?
7??
E?
,??

?

?
7?
?????
,??
7??
0y
0??
E?
0?
???
???
???
;y?????
???
?????()VCodeLineNumberTableLocalVariableTablethis?Lorg/apache/cayenne/project/validation/DbRelationshipValidator;validateZ(Lorg/apache/cayenne/map/DbRelationship;Lorg/apache/cayenne/validation/ValidationResult;)VjoinLorg/apache/cayenne/map/DbJoin;reverseRelationship'Lorg/apache/cayenne/map/DbRelationship;helper;?checkForDuplicatescomparisonDbRelationshipPathcomparisonRelationshipdbRelationshipPathentity!Lorg/apache/cayenne/map/DbEntity;??getJoins;(Lorg/apache/cayenne/map/DbRelationship;)Ljava/lang/String;joinsLjava/util/List;$Ljava/util/List;?toString
SourceFileDbRelationshipValidator.javaGH??(DbRelationship '%s' has no target entityjava/lang/Objectvq??p???? DbRelationship '%s' has no joins???????org/apache/cayenne/map/DbJoin????LDbRelationship '%s' has a join with no source and target attributes selected@DbRelationship '%s' has a join with no source attribute selected@DbRelationship '%s' has a join with no target attribute selected????WDbRelationship '%s' has join not to PK. Cayenne doesn't allow this type of relationship?????Unnamed DbRelationship?????]Name of DbRelationship '%s' conflicts with the name of one of DbAttributes in the same entity?????;Name of DbRelationship '%s' contains invalid characters: %shO`O^O??2Relationship '%s' and reverse '%s' are both toMany_O??DAttributes '%s' and '%s' have different types in a relationship '%s'?????????"org/apache/cayenne/map/DbAttribute??E'To Dep Pk' incompatible with Database-Generated on '%s' relationship??java/lang/StringBuilder??.pqv???%org/apache/cayenne/map/DbRelationship???HDbEntity '%s' contains a duplicate DbRelationship mapping ('%s' -> '%s')java/util/ArrayList[source=,target=]?????,P?[null source entity].=org/apache/cayenne/project/validation/DbRelationshipValidator@org/apache/cayenne/project/validation/ConfigurationNodeValidatorjava/util/Iteratorjava/util/Collectionjava/lang/Stringorg/apache/cayenne/map/DbEntityjava/util/ListgetTargetEntity#()Lorg/apache/cayenne/map/DbEntity;
addFailurej(Lorg/apache/cayenne/validation/ValidationResult;Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;)V()Ljava/util/List;isEmpty()Ziterator()Ljava/util/Iterator;hasNextnext()Ljava/lang/Object;	getSource&()Lorg/apache/cayenne/map/DbAttribute;	getTargetisToPKgetReverseRelationship)()Lorg/apache/cayenne/map/DbRelationship;getName()Ljava/lang/String;org/apache/cayenne/util/Util
isEmptyString(Ljava/lang/CharSequence;)ZgetSourceEntitygetAttribute8(Ljava/lang/String;)Lorg/apache/cayenne/map/DbAttribute;:org/apache/cayenne/project/validation/NameValidationHelpergetInstance>()Lorg/apache/cayenne/project/validation/NameValidationHelper;invalidCharsInDbPathComponent&(Ljava/lang/String;)Ljava/lang/String;isToManygetType()I
getSourceName
getTargetNameisToDependentPKgetGeneratedAttributes()Ljava/util/Collection;isGeneratedgetTargetEntityNameappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;getRelationshipsequals(Ljava/lang/Object;)Zaddjava/util/Collectionssort(Ljava/util/List;)V:(Ljava/lang/Iterable;Ljava/lang/String;)Ljava/lang/String; EFGHI/*??J!KLMNOI?	l+??*,+?Y*+?S???+???*,+	?Y*+?S???+??
N-??s-??
:??"??*,+?Y*+?S??>??*,+?Y*+?S????*,+?Y*+?S????+??'+?N-?-??*,+?Y*+?S?+???*,+???T+?+???*,+?Y*+?S??/?N-+??:?*,+?Y*+?SYS?*+,?*+,? *+,?!?J?,%&*&+*,70;,A3_4o5|9?5?:?;???;?@?A?E?A?G?J?K?L?M?Q?M?U?VWY#]'Y-_1`;a@bMfVbYk_lemknKH_bPQ?RS1(TU;VWlLMlXSlYZ["?	\?:]??*$+^OI?@+?>+??1+?"?*+??"? *,+#?Y+?SY+??S?*+,?$?J"qrst(x6t9z?|K @LM@XS@YZ[9_OI?h+??
N-??W-??
:??A??9??%??%?&*,+&?Y?'SY?(SY+?S?????J"?0?A?N?a?d?g?K*FPQhLMhXShYZ[?
\?Y?`OI?	M+?)?H+??*N-?+:??.??,:?-?*,+.?Y*+?S???αJ&	???-?5?B?F?I?L?K4-ab=cdMLMMXSMYZe=cf[?g\1?hOIz?+??+???+?/???0Y?1+?/?23?2*+?4?2?5N+?:?6?+:??c??7:+?N?0Y?1?/?23?2*?4?2?5:-?8?#*,+9?Y?:SY+?SY-S??????JR?????'?1?7?Y?_?h?v?????????????????KH?)iWYQjS1|kW7vlm?LM?XS?YZ[?Cno\?f?pqI?d?;Y??2?(?2??2?5?@W???,?A,B?C?J??&?V?Y?]?K*&0PQdLMdXS\rse\rt[?u\?FvqI??+???0Y?1D?2+??2?5??0Y?1+??:?23?2+??2?5?J???K?LM?XS[wx




© 2015 - 2024 Weber Informatics LLC | Privacy Policy