mymobilesite.controller
Class Service
java.lang.Object
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
private java.lang.String name
value
private java.lang.String[][] value
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.
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.