Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 14 for inheritance (0.07 seconds)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderResult.java

         * Gets the file model.
         *
         * @return the file model, never {@code null}.
         */
        @Nonnull
        Model getFileModel();
    
        /**
         * Gets the file model + build pom transformation, without inheritance nor interpolation.
         *
         * @return The raw model, never {@code null}.
         */
        @Nonnull
        Model getRawModel();
    
        /**
         * Gets the effective model of the parent POM.
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 17:20:31 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/GAVUtilsTest.java

                assertEquals("test-project", gav.artifactId());
                assertEquals("1.0.0", gav.version());
            }
    
            @Test
            @DisplayName("should extract Artifact with parent inheritance")
            void shouldExtractGAVWithParentInheritance() throws Exception {
                String pomXml = """
                    <?xml version="1.0" encoding="UTF-8"?>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 17.3K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeStrategy.java

        }
    
        /**
         * Extracts an Artifact from a POM document with parent resolution.
         * If groupId or version are missing, attempts to resolve from parent.
         *
         * <p>This method handles Maven's inheritance mechanism where groupId and version
         * can be inherited from the parent POM.
         *
         * @param context the upgrade context for logging
         * @param pomDocument the POM document
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  4. impl/maven-core/src/test/java/org/apache/maven/project/MavenProjectTest.java

            MavenProject project = new MavenProject(model);
    
            assertEquals("test-group", project.getGroupId(), "groupId proto-inheritance failed.");
            assertEquals("real-artifact", project.getArtifactId(), "artifactId is masked.");
            assertEquals("1000", project.getVersion(), "version proto-inheritance failed.");
    
            // draw the NPE.
            project.getId();
        }
    
        @Test
        void testEmptyConstructor() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 28 09:44:37 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  5. README.md

    ## Overview
    
    * Full-Featured ORM
    * Associations (Has One, Has Many, Belongs To, Many To Many, Polymorphism, Single-table inheritance)
    * Hooks (Before/After Create/Save/Update/Delete/Find)
    * Eager loading with `Preload`, `Joins`
    * Transactions, Nested Transactions, Save Point, RollbackTo to Saved Point
    * Context, Prepared Statement Mode, DryRun Mode
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Oct 30 09:30:20 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/package-info.java

     * the {@code /project/subprojects/subproject} elements of the POM in the aggregator project.
     * Note that the aggregator project is required to have a {@code pom} packaging.</p>
     *
     * <p><dfn>Project inheritance</dfn> defines a parent-child relationship between projects.
     * The <dfn>child project</dfn> inherits all the information from the <dfn>parent project</dfn>
     * POM.</p>
     *
     */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Dec 15 11:13:42 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java

     * <ul>
     *   <li><strong>POM Discovery</strong>: Recursively discovers all POM files in the project structure</li>
     *   <li><strong>GAV Resolution</strong>: Computes GroupId, ArtifactId, Version for all project artifacts with parent inheritance</li>
     *   <li><strong>Cross-Module Inference</strong>: Uses knowledge of all project artifacts for intelligent inference decisions</li>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  8. docs/en/docs/tutorial/response-model.md

    But in most of the cases where we need to do something like this, we want the model just to **filter/remove** some of the data as in this example.
    
    And in those cases, we can use classes and inheritance to take advantage of function **type annotations** to get better support in the editor and tools, and still get the FastAPI **data filtering**.
    
    {* ../../docs_src/response_model/tutorial003_01_py310.py hl[7:10,13:14,18] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 15.5K bytes
    - Click Count (0)
  9. docs/en/docs/tutorial/sql-databases.md

    And any model class that doesn't have `table=True` is a **data model**, these ones are actually just Pydantic models (with a couple of small extra features). 🤓
    
    With SQLModel, we can use **inheritance** to **avoid duplicating** all the fields in all the cases.
    
    #### `HeroBase` - the base class { #herobase-the-base-class }
    
    Let's start with a `HeroBase` model that has all the **fields that are shared** by all the models:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 02 05:06:56 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/Project.java

         * <p>
         * This method traverses the parent hierarchy and includes profiles defined in parent POMs.
         * The returned list contains profiles from the current project and all of its ancestors in
         * the project inheritance chain.
         *
         * @return a non-null, possibly empty list of all profiles from this project and its parents
         * @see Profile
         * @see #getDeclaredProfiles()
         */
        @Nonnull
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 07 13:11:07 GMT 2025
    - 15.3K bytes
    - Click Count (0)
Back to Top