org.whitesource.agent.api.model
Class Coordinates

java.lang.Object
  extended by org.whitesource.agent.api.model.Coordinates
All Implemented Interfaces:
Serializable

public class Coordinates
extends Object
implements Serializable

WhiteSource model for artifact's coordinates.

Author:
tom.shapira
See Also:
Serialized Form

Constructor Summary
Coordinates()
          Default constructor
Coordinates(String groupId, String artifactId, String version)
          Constructor
 
Method Summary
 boolean equals(Object obj)
           
 String getArtifactId()
           
 String getGroupId()
           
 String getVersion()
           
 int hashCode()
           
 void setArtifactId(String artifactId)
           
 void setGroupId(String groupId)
           
 void setVersion(String version)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Coordinates

public Coordinates()
Default constructor


Coordinates

public Coordinates(String groupId,
                   String artifactId,
                   String version)
Constructor

Parameters:
groupId -
artifactId -
version -
Method Detail

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

getGroupId

public String getGroupId()

setGroupId

public void setGroupId(String groupId)

getArtifactId

public String getArtifactId()

setArtifactId

public void setArtifactId(String artifactId)

getVersion

public String getVersion()

setVersion

public void setVersion(String version)


Copyright © 2011-2012 White Source. All Rights Reserved.