SwitchYard: Core 0.6.0.Beta2

org.switchyard.common.version
Class BaseImplementation

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

public class BaseImplementation
extends Object
implements Implementation

BaseImplementation.

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

Constructor Summary
BaseImplementation(String title, String vendor, String vendorId, String url, String version)
          Constructs a new BaseImplementation.
BaseImplementation(String title, String vendor, String vendorId, URL url, String version)
          Constructs a new BaseImplementation.
 
Method Summary
 int compareTo(Implementation that)
          
 boolean equals(Object obj)
          
 String getTitle()
          Gets the title.
 URL getURL()
          Gets the URL.
 String getVendor()
          Gets the vendor.
 String getVendorId()
          Gets the vendor id.
 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

BaseImplementation

public BaseImplementation(String title,
                          String vendor,
                          String vendorId,
                          URL url,
                          String version)
Constructs a new BaseImplementation.

Parameters:
title - the title
vendor - the vendor
vendorId - the vendorId
url - the url
version - the version

BaseImplementation

public BaseImplementation(String title,
                          String vendor,
                          String vendorId,
                          String url,
                          String version)
Constructs a new BaseImplementation.

Parameters:
title - the title
vendor - the vendor
vendorId - the vendorId
url - the url
version - the version
Method Detail

getTitle

public String getTitle()
Gets the title.

Specified by:
getTitle in interface Implementation
Returns:
the title

getVendor

public String getVendor()
Gets the vendor.

Specified by:
getVendor in interface Implementation
Returns:
the vendor

getVendorId

public String getVendorId()
Gets the vendor id.

Specified by:
getVendorId in interface Implementation
Returns:
the vendor id

getURL

public URL getURL()
Gets the URL.

Specified by:
getURL in interface Implementation
Returns:
the URL

getVersion

public String getVersion()
Gets the version.

Specified by:
getVersion in interface Implementation
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(Implementation that)

Specified by:
compareTo in interface Comparable<Implementation>

SwitchYard: Core 0.6.0.Beta2

JBoss by Red Hat