PageRenderTime 23ms CodeModel.GetById 14ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 0ms

/v3.2/nimbits-model/src/com/nimbits/client/model/value/Value.java

http://nimbits-server.googlecode.com/
Java | 48 lines | 15 code | 15 blank | 18 comment | 0 complexity | 5950d7c3785ee24463ae9f755aa499c5 MD5 | raw file
 1/*
 2 * Copyright (c) 2010 Tonic Solutions LLC.
 3 *
 4 * http://www.nimbits.com
 5 *
 6 *
 7 * Licensed under the GNU GENERAL PUBLIC LICENSE, Version 3.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
 8 *
 9 * http://www.gnu.org/licenses/gpl.html
10 *
11 * Unless required by applicable law or agreed to in writing, software distributed under the license is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
12 */
13
14package com.nimbits.client.model.value;
15
16import java.io.Serializable;
17import java.util.Date;
18
19/**
20 * Created by Benjamin Sautner
21 * User: benjamin
22 * Date: 4/16/11
23 * Time: 2:27 PM
24 */
25public interface Value extends Serializable {
26
27    long getId();
28
29    String getNote();
30
31    double getLatitude();
32
33    double getLongitude();
34
35    long getPoint();
36
37    double getValue();
38
39    Date getTimestamp();
40
41    AlertType getAlertState();
42
43    void setAlertState(final AlertType alertState);
44
45    String getData();
46
47
48}