Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   =================== DO NOT EDIT THIS FILE ====================
   Generated by Modello 1.4.1 on 2012-04-27 06:11:26,
   any modifications will be overwritten.
   ==============================================================
   */
  
  package org.sonatype.nexus.rest.model;

Uniquely identifies a maven artifact. This is returned by the artifact upload request.

Version:
$Revision$ $Date$
 
 @SuppressWarnings"all" )
 @javax.xml.bind.annotation.XmlType( name = "artifact-coordinate" )
 public class ArtifactCoordinate
     implements java.io.Serializable
 {
 
       //--------------------------/
      //- Class/Member Variables -/
     //--------------------------/
 
    
The group id of the artifact.
 
     private String groupId;

    
The artifact id of the artifact.
 
     private String artifactId;

    
The version of the artifact.
 
     private String version;

    
The packaging type of the artifact.
 
     private String packaging;
 
 
       //-----------/
      //- Methods -/
     //-----------/
 
    
Get the artifact id of the artifact.

Returns:
String
 
     public String getArtifactId()
     {
         return this.;
     } //-- String getArtifactId()
 
    
Get the group id of the artifact.

Returns:
String
 
     public String getGroupId()
     {
         return this.;
     } //-- String getGroupId()
 
    
Get the packaging type of the artifact.

Returns:
String
 
     public String getPackaging()
     {
         return this.;
     } //-- String getPackaging()
 
    
Get the version of the artifact.

Returns:
String
 
     public String getVersion()
     {
         return this.;
     } //-- String getVersion()
 
    
Set the artifact id of the artifact.

Parameters:
artifactId
 
     public void setArtifactIdString artifactId )
     {
         this. = artifactId;
    } //-- void setArtifactId( String )

    
Set the group id of the artifact.

Parameters:
groupId
    public void setGroupIdString groupId )
    {
        this. = groupId;
    } //-- void setGroupId( String )

    
Set the packaging type of the artifact.

Parameters:
packaging
    public void setPackagingString packaging )
    {
        this. = packaging;
    } //-- void setPackaging( String )

    
Set the version of the artifact.

Parameters:
version
    public void setVersionString version )
    {
        this. = version;
    } //-- void setVersion( String )
New to GrepCode? Check out our FAQ X