/* * Copyright (c) 2013 by CDAC Chennai * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * 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. * * @File Light * @Created: 18.11.2013 * @author: Prasenjit * Last Change: 22.08.2014 by Prasenjit */ package com.contextawareframework.sensors.environmentsensors; /** * This is a POJO class for accessing all details of Light Sensor in Android. * It contains Getter and Setter for each attribute */ public class Light{ private float currentReading; private int id; private long timestamp; // Default Constructor /** * Description : Default Constructor */ public Light() { } /** * Description : Getter and Setter method for each attribute */ public int getId() { return id; } /** * */ public void setId(int id) { this.id = id; } /** * */ public long getTimestamp() { return timestamp; } /** * */ public void setTimestamp(long timestamp) { this.timestamp = timestamp; } /** * */ public float getCurrentReading() { return currentReading; } /** * */ public void setCurrentReading(float currentReading) { this.currentReading = currentReading; } }