Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 293 for belongsTo (0.92 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/alignment/AbstractAlignmentSpec.groovy

                            if ('org' == id.group) {
                               belongsTo("\${id.group}:platform:\${id.version}")
                               belongsTo("\${id.group}:platform2:\${id.version}")
                            }
                        }
                    }
                }
            """
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 9K bytes
    - Viewed (0)
  2. schema/relationship_test.go

    				"Country": {
    					Name: "Country", Type: schema.BelongsTo, Schema: "Org", FieldSchema: "Country",
    					References: []Reference{
    						{PrimaryKey: "ID", PrimarySchema: "Country", ForeignKey: "CountryID", ForeignSchema: "Org"},
    					},
    				},
    			},
    		},
    		"VisitingAddress": {
    			Relations: map[string]Relation{
    				"Country": {
    					Name: "Country", Type: schema.BelongsTo, Schema: "Org", FieldSchema: "Country",
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Apr 15 03:20:20 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/dependencyManagement/managingTransitiveDependencies-dependencyAlignment/groovy/build.gradle

            ctx.details.with {
                if (id.group.startsWith("com.fasterxml.jackson")) {
                    // declare that Jackson modules belong to the platform defined by the Jackson BOM
                    belongsTo("com.fasterxml.jackson:jackson-bom:${id.version}", false)
                }
            }
        }
    }
    // end::bom-alignment-rule[]
    
    // tag::alignment-rule[]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  4. schema/relationship.go

    	HasMany   RelationshipType = "has_many"     // HasManyRel has many relationship
    	BelongsTo RelationshipType = "belongs_to"   // BelongsToRel belongs to relationship
    	Many2Many RelationshipType = "many_to_many" // Many2ManyRel many to many relationship
    	has       RelationshipType = "has"
    )
    
    type Relationships struct {
    	HasOne    []*Relationship
    	BelongsTo []*Relationship
    	HasMany   []*Relationship
    	Many2Many []*Relationship
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 03:46:59 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/resolver/ComponentMetadataDetailsAdapter.java

        }
    
        @Override
        public void belongsTo(Object notation) {
            belongsTo(notation, true);
        }
    
        @Override
        public void belongsTo(Object notation, boolean virtual) {
            ComponentIdentifier id = componentIdentifierParser.parseNotation(notation);
            if (virtual) {
                metadata.belongsTo(VirtualComponentHelper.makeVirtual(id));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/dependencyManagement/managingTransitiveDependencies-dependencyAlignment/kotlin/build.gradle.kts

            ctx.details.run {
                if (id.group.startsWith("com.fasterxml.jackson")) {
                    // declare that Jackson modules belong to the platform defined by the Jackson BOM
                    belongsTo("com.fasterxml.jackson:jackson-bom:${id.version}", false)
                }
            }
        }
    }
    // end::bom-alignment-rule[]
    
    // tag::alignment-rule[]
    abstract class JacksonAlignmentRule: ComponentMetadataRule {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  7. subprojects/core-api/src/main/java/org/gradle/api/artifacts/ComponentMetadataDetails.java

        /**
         * Declares that this component belongs to a virtual platform, which should be
         * considered during dependency resolution.
         * @param notation the coordinates of the owner
         *
         * @since 4.10
         */
        void belongsTo(Object notation);
    
        /**
         * Declares that this component belongs to a platform, which should be
         * considered during dependency resolution.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 23 15:47:10 UTC 2020
    - 5.4K bytes
    - Viewed (0)
  8. association.go

    		reflectValue := association.DB.Statement.ReflectValue
    		rel := association.Relationship
    
    		var oldBelongsToExpr clause.Expression
    		// we have to record the old BelongsTo value
    		if association.Unscope && rel.Type == schema.BelongsTo {
    			var foreignFields []*schema.Field
    			for _, ref := range rel.References {
    				if !ref.OwnPrimaryKey {
    					foreignFields = append(foreignFields, ref.ForeignKey)
    				}
    			}
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/dep-man/03-controlling-transitive-dependencies/dependency_version_alignment.adoc

    include::sample[dir="snippets/dependencyManagement/managingTransitiveDependencies-dependencyAlignment/groovy",files="build.gradle[tags=bom-alignment-rule]"]
    ====
    
    By using the `belongsTo` with `false` (**not** virtual), we declare that all modules belong to the same _published platform_.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/external/model/MutableModuleComponentResolveMetadata.java

         */
        VariantMetadataRules getVariantMetadataRules();
    
        /**
         * Declares that this component belongs to a virtual platform.
         * @param platform the identifier of the virtual platform
         */
        void belongsTo(VirtualComponentIdentifier platform);
    
        @Nullable
        Set<? extends VirtualComponentIdentifier> getPlatformOwners();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.3K bytes
    - Viewed (0)
Back to top