Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 1,041 for model (0.1 sec)

  1. schema/relationship_test.go

    	} else {
    		for _, rel := range relations {
    			checkSchemaRelation(t, s, rel)
    		}
    	}
    }
    
    func TestBelongsToOverrideForeignKey(t *testing.T) {
    	type Profile struct {
    		gorm.Model
    		Name string
    	}
    
    	type User struct {
    		gorm.Model
    		Profile      Profile `gorm:"ForeignKey:ProfileRefer"`
    		ProfileRefer int
    	}
    
    	checkStructRelation(t, &User{}, Relation{
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Apr 15 03:20:20 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/project/inheritance/ModelInheritanceAssembler.java

    import org.apache.maven.model.Build;
    import org.apache.maven.model.Model;
    
    /**
     */
    @Deprecated
    public interface ModelInheritanceAssembler {
        String ROLE = ModelInheritanceAssembler.class.getName();
    
        void assembleModelInheritance(Model child, Model parent, String childPathAdjustment);
    
        void assembleModelInheritance(Model child, Model parent);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainsBuilder.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.toolchain;
    
    import java.io.File;
    
    import org.apache.maven.toolchain.model.PersistedToolchains;
    
    /**
     * Builds the toolchains model from a previously configured filesystem path to the toolchains file.
     * <strong>Note:</strong> This is an internal component whose interface can change without prior notice.
     *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. callbacks.go

    		optimizer.ModifyStatement(stmt)
    	}
    
    	// assign model values
    	if stmt.Model == nil {
    		stmt.Model = stmt.Dest
    	} else if stmt.Dest == nil {
    		stmt.Dest = stmt.Model
    	}
    
    	// parse model values
    	if stmt.Model != nil {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Mar 26 03:33:36 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  5. compat/maven-model/src/site/apt/index.apt

     Hervé Boutemy
     -----
     2011-06-12
     -----
    
    Maven Model
    
     This is strictly the model for Maven POM (Project Object Model) in <<<org.apache.maven.model>>> package,
     delegating content to {{{../api/maven-api-model/index.html}Maven 4 API immutable model}}. All the effective model
     building logic from multiple POMs and building context is done in {{{../maven-model-builder/}Maven Model Builder}}.
    
     The following are generated from this model:
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. tests/associations_many2many_test.go

    	// Find
    	var user2 User
    	DB.Find(&user2, "id = ?", user.ID)
    	DB.Model(&user2).Association("Languages").Find(&user2.Languages)
    
    	CheckUser(t, user2, user)
    
    	// Count
    	AssertAssociationCount(t, user, "Languages", 2, "")
    
    	// Append
    	language := Language{Code: "language-many2many-append", Name: "language-many2many-append"}
    	DB.Create(&language)
    
    	if err := DB.Model(&user2).Association("Languages").Append(&language); err != nil {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Jun 10 13:05:19 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

    import org.apache.maven.model.DependencyManagement;
    import org.apache.maven.model.InputLocation;
    import org.apache.maven.model.Model;
    import org.apache.maven.model.Parent;
    import org.apache.maven.model.Plugin;
    import org.apache.maven.model.PluginManagement;
    import org.apache.maven.model.Profile;
    import org.apache.maven.model.building.ModelProblem.Severity;
    import org.apache.maven.model.building.ModelProblem.Version;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 83.6K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/resolution/WorkspaceModelResolver.java

     * under the License.
     */
    package org.apache.maven.model.resolution;
    
    import org.apache.maven.model.Model;
    
    /**
     * WorkspaceModelResolver
     *
     * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public interface WorkspaceModelResolver {
    
        Model resolveRawModel(String groupId, String artifactId, String versionConstraint)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/project/inheritance/DefaultModelInheritanceAssembler.java

    import javax.inject.Singleton;
    
    import org.apache.maven.model.Build;
    import org.apache.maven.model.Model;
    
    /**
     * DefaultModelInheritanceAssembler
     */
    @Named
    @Singleton
    @Deprecated
    public class DefaultModelInheritanceAssembler implements ModelInheritanceAssembler {
        @Override
        public void assembleModelInheritance(Model child, Model parent, String childPathAdjustment) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/configuration/DefaultBeanConfigurationRequest.java

     * under the License.
     */
    package org.apache.maven.configuration;
    
    import java.util.Objects;
    
    import org.apache.maven.model.Build;
    import org.apache.maven.model.Model;
    import org.apache.maven.model.Plugin;
    import org.apache.maven.model.PluginExecution;
    import org.apache.maven.model.PluginManagement;
    
    /**
     * A basic bean configuration request.
     *
     */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top