Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,941 for get2 (0.05 sec)

  1. tests/associations_has_one_test.go

    	}
    
    	CheckPet(t, pet, pet)
    
    	// Find
    	var pet2 Pet
    	DB.Find(&pet2, "id = ?", pet.ID)
    	DB.Model(&pet2).Association("Toy").Find(&pet2.Toy)
    	CheckPet(t, pet2, pet)
    
    	// Count
    	AssertAssociationCount(t, pet, "Toy", 1, "")
    
    	// Append
    	toy := Toy{Name: "toy-has-one-append"}
    
    	if err := DB.Model(&pet2).Association("Toy").Append(&toy); err != nil {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/execution/ExecutionEvent.java

            ForkedProjectFailed,
        }
    
        /**
         * Gets the type of the event.
         *
         * @return The type of the event, never {@code null}.
         */
        Type getType();
    
        /**
         * Gets the session from which this event originates.
         *
         * @return The current session, never {@code null}.
         */
        MavenSession getSession();
    
        /**
         * Gets the current project (if any).
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java

            final Map<String, Object> dest = newHashMap();
            BeanUtil.copyBeanToMap(src, dest);
            assertThat(dest.get("aaa"), is((Object) "aaa"));
            assertThat(dest.get("bbb"), is(nullValue()));
            assertThat(dest.get("ccc"), is((Object) "ccc"));
            assertThat(dest.get("ddd"), is(nullValue()));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  4. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/SettingsDecryptionRequest.java

    /**
     * Collects parameters that control the decryption of settings.
     *
     * @deprecated since 4.0.0
     */
    @Deprecated(since = "4.0.0")
    public interface SettingsDecryptionRequest {
    
        /**
         * Gets the servers whose passwords should be decrypted.
         *
         * @return The servers to decrypt, never {@code null}.
         */
        List<Server> getServers();
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilderRequest.java

    @Immutable
    public interface SettingsBuilderRequest {
    
        @Nonnull
        Session getSession();
    
        /**
         * Gets the installation settings source.
         *
         * @return the installation settings source or {@code null} if none
         */
        @Nonnull
        Optional<Source> getInstallationSettingsSource();
    
        /**
         * Gets the project settings source.
         *
         * @return the project settings source or {@code null} if none
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 17 09:25:53 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelCacheTag.java

     */
    @Deprecated(since = "4.0.0")
    interface ModelCacheTag<T> {
    
        /**
         * Gets the name of the tag.
         *
         * @return The name of the tag, must not be {@code null}.
         */
        String getName();
    
        /**
         * Gets the type of data associated with this tag.
         *
         * @return The type of data, must not be {@code null}.
         */
        Class<T> getType();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilderRequest.java

    @Experimental
    public interface ToolchainsBuilderRequest {
        @Nonnull
        Session getSession();
    
        /**
         * Gets the installation Toolchains source.
         *
         * @return the installation Toolchains source or {@code null} if none
         */
        @Nonnull
        Optional<Source> getInstallationToolchainsSource();
    
        /**
         * Gets the user Toolchains source.
         *
         * @return the user Toolchains source or {@code null} if none
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Aug 22 14:47:43 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. tests/associations_has_many_test.go

    	AssertAssociationCount(t, user, "Pets", 5, "AfterAppendSlice")
    
    	// Replace
    	pet2 := Pet{Name: "pet-has-many-replace"}
    
    	if err := DB.Model(&user2).Association("Pets").Replace(&pet2); err != nil {
    		t.Fatalf("Error happened when append pet, got %v", err)
    	}
    
    	if pet2.ID == 0 {
    		t.Fatalf("pet2's ID should be created")
    	}
    
    	user.Pets = []*Pet{&pet2}
    	CheckUser(t, user2, user)
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 16K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/Repository.java

        /**
         * The reserved id for Maven Central
         */
        String CENTRAL_ID = "central";
    
        /**
         * Gets the identifier of this repository.
         *
         * @return the (case-sensitive) identifier, never {@code null}
         */
        @Nonnull
        String getId();
    
        /**
         * Gets the type of the repository, for example "default".
         *
         * @return the (case-sensitive) type of the repository, never {@code null}
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Objects.java

       * single Object array, do not get any special handling; their hash codes are based on identity
       * and not contents.
       *
       * <p>This is useful for implementing {@link Object#hashCode()}. For example, in an object that
       * has three properties, {@code x}, {@code y}, and {@code z}, one could write:
       *
       * <pre>{@code
       * public int hashCode() {
       *   return Objects.hashCode(getX(), getY(), getZ());
       * }
       * }</pre>
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:03:12 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top