org.gcube.common.ghn.service.configuration
Class Coordinates

java.lang.Object
  extended by org.gcube.common.ghn.service.configuration.Coordinates

public class Coordinates
extends Object

The coordinates of the managed service.

Author:
Fabio Simeoni

Constructor Summary
Coordinates()
           
 
Method Summary
 String description()
          Returns the description of the service.
 Coordinates description(String description)
          Sets the description of the service.
 boolean equals(Object obj)
           
 int hashCode()
           
 String name()
          Returns the name of the service.
 Coordinates name(String name)
          Sets the name of the service.
 String serviceClass()
          Returns the class of the service
 Coordinates serviceClass(String serviceClass)
          Sets the class of the service.
 String version()
          Returns the version of the service
 Coordinates version(String version)
          Sets the version of the service.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Coordinates

public Coordinates()
Method Detail

name

public String name()
Returns the name of the service.

Returns:
the name of the service

name

public Coordinates name(String name)
Sets the name of the service.

Parameters:
name - the name of the service
Returns:
these coordinates

serviceClass

public String serviceClass()
Returns the class of the service

Returns:
the class of the service

serviceClass

public Coordinates serviceClass(String serviceClass)
Sets the class of the service.

Parameters:
serviceClass - the class of the service
Returns:
these coordinates

version

public String version()
Returns the version of the service

Returns:
the version of the service

version

public Coordinates version(String version)
Sets the version of the service.

Parameters:
version - the version of the service
Returns:
these coordinates

description

public String description()
Returns the description of the service.

Returns:
the description of the service

description

public Coordinates description(String description)
Sets the description of the service.

Parameters:
description - the description of the service
Returns:
these coordinates

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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


Copyright © 2013. All Rights Reserved.