mymobilesite.controller
Class Service

java.lang.Object
  extended by mymobilesite.controller.Service

public class Service
extends java.lang.Object

The Service class is used to store the information and values for a retrieved service. It holds the name of the service as well as multiple values.

Author:
Gunn Olaussen & Kirsti N. Torgersen

Field Summary
private  java.lang.String name
           
private  java.lang.String[][] value
           
 
Constructor Summary
Service(java.lang.String name, java.lang.String[][] value)
           
 
Method Summary
 java.lang.String getName()
           
 java.lang.String[][] getValue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

private java.lang.String name

value

private java.lang.String[][] value
Constructor Detail

Service

public Service(java.lang.String name,
               java.lang.String[][] value)
Parameters:
name - String The name of the service.
value - String[][] A matrix which contains label and value pairs.
Method Detail

getName

public java.lang.String getName()
Returns:
String The name of the service.

getValue

public java.lang.String[][] getValue()
Returns:
String[][] A matrix which contains label and value pairs.