/** * Copyright 2014-2015 Converge ICT * * 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. * */ package eu.betaas.adaptation.thingsadaptor.config; import java.io.Serializable; /** * This class is a child class of Thing and provides Contextual info of * @author Converge */ public class ThingWithContext extends Thing implements Serializable { /** * Autogenerated Serial version UID */ private static final long serialVersionUID = -2743284644525548234L; private boolean isInput; private boolean isOutput; private String contextName; private String contextValue; public boolean isInput() { return isInput; } public void setInput(boolean isInput) { this.isInput = isInput; } public boolean isOutput() { return isOutput; } public void setOutput(boolean isOutput) { this.isOutput = isOutput; } public String getContextName() { return contextName; } public void setContextName(String contextName) { this.contextName = contextName; } public String getContextValue() { return contextValue; } public void setContextValue(String contextValue) { this.contextValue = contextValue; } }