SwitchYard: Core 0.6.0.Beta2

org.switchyard.common.version
Class BaseProject

java.lang.Object
  extended by org.switchyard.common.version.BaseProject
All Implemented Interfaces:
Comparable<Project>, Project

public class BaseProject
extends Object
implements Project

BaseProject.

Author:
David Ward <dward@jboss.org> (C) 2012 Red Hat Inc.

Constructor Summary
BaseProject(String groupId, String artifactId, String packaging, String name, String description, String url, String version)
          Constructs a new BaseSpecification.
BaseProject(String groupId, String artifactId, String packaging, String name, String description, URL url, String version)
          Constructs a new BaseSpecification.
 
Method Summary
 int compareTo(Project that)
          
 boolean equals(Object obj)
          
 String getArtifactId()
          Gets the artifactId.
 String getDescription()
          Gets the description.
 String getGroupId()
          Gets the groupId.
 String getName()
          Gets the name.
 String getPackaging()
          Gets the packaging.
 URL getURL()
          Gets the URL.
 String getVersion()
          Gets the version.
 int hashCode()
          
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BaseProject

public BaseProject(String groupId,
                   String artifactId,
                   String packaging,
                   String name,
                   String description,
                   URL url,
                   String version)
Constructs a new BaseSpecification.

Parameters:
groupId - the groupId
artifactId - the artifactId
packaging - the packaging
name - the name
description - the description
url - the url
version - the version

BaseProject

public BaseProject(String groupId,
                   String artifactId,
                   String packaging,
                   String name,
                   String description,
                   String url,
                   String version)
Constructs a new BaseSpecification.

Parameters:
groupId - the groupId
artifactId - the artifactId
packaging - the packaging
name - the name
description - the description
url - the url
version - the version
Method Detail

getGroupId

public String getGroupId()
Gets the groupId.

Specified by:
getGroupId in interface Project
Returns:
the groupId

getArtifactId

public String getArtifactId()
Gets the artifactId.

Specified by:
getArtifactId in interface Project
Returns:
the artifactId

getPackaging

public String getPackaging()
Gets the packaging.

Specified by:
getPackaging in interface Project
Returns:
the packaging

getName

public String getName()
Gets the name.

Specified by:
getName in interface Project
Returns:
the name

getDescription

public String getDescription()
Gets the description.

Specified by:
getDescription in interface Project
Returns:
the description

getURL

public URL getURL()
Gets the URL.

Specified by:
getURL in interface Project
Returns:
the URL

getVersion

public String getVersion()
Gets the version.

Specified by:
getVersion in interface Project
Returns:
the version

toString

public String toString()

Overrides:
toString in class Object

equals

public boolean equals(Object obj)

Overrides:
equals in class Object

hashCode

public int hashCode()

Overrides:
hashCode in class Object

compareTo

public int compareTo(Project that)

Specified by:
compareTo in interface Comparable<Project>

SwitchYard: Core 0.6.0.Beta2

JBoss by Red Hat