Class ArtifactType

  • Direct Known Subclasses:
    DependencyType

    public class ArtifactType
    extends Object
    Refers to either another module running in the server, or an entry in the server's Repository. In either case this effectively uses a URI. When this is pointing to a repository entry, the URI must have a form acceptable to the repository, which is currently a URI consisting of Maven-style identifiers separated by slashes (groupId/artifactId/version/type, for example, the URI "postgresql/postgresql-8.0-jdbc/313/jar" for a file like "repository/postgresql/postgresql-8.0-jdbc-313.jar"). When this is pointing to a module, the URI should match the module's moduleId. This also looks like a Maven-style URI discussed above. The artifactType element can take either a straight URI (as in the examples above), or maven-style identifier fragments (groupId, type, artifactId, and version), which it will compose into a URI by adding up the fragments with slashes in between. There is a correspondence between the xml format and a URI. For example, the URI postgresql/postgresql-8.0-jdbc/313/jar corresponds to the xml: postgresql postgresql-8.0-jdbc 313 jar

    Java class for artifactType complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="artifactType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="groupId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
             <element name="artifactId" type="{http://www.w3.org/2001/XMLSchema}string"/>
             <element name="version" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
             <element name="type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • groupId

        protected String groupId
      • artifactId

        protected String artifactId
      • version

        protected String version
    • Constructor Detail

      • ArtifactType

        public ArtifactType()
    • Method Detail

      • getGroupId

        public String getGroupId()
        Gets the value of the groupId property.
        Returns:
        possible object is String
      • setGroupId

        public void setGroupId​(String value)
        Sets the value of the groupId property.
        Parameters:
        value - allowed object is String
      • getArtifactId

        public String getArtifactId()
        Gets the value of the artifactId property.
        Returns:
        possible object is String
      • setArtifactId

        public void setArtifactId​(String value)
        Sets the value of the artifactId property.
        Parameters:
        value - allowed object is String
      • getVersion

        public String getVersion()
        Gets the value of the version property.
        Returns:
        possible object is String
      • setVersion

        public void setVersion​(String value)
        Sets the value of the version property.
        Parameters:
        value - allowed object is String
      • getType

        public String getType()
        Gets the value of the type property.
        Returns:
        possible object is String
      • setType

        public void setType​(String value)
        Sets the value of the type property.
        Parameters:
        value - allowed object is String