/** * Copyright (c) 2000-present Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ package com.liferay.portal.jsonwebservice; /** * @author Igor Spasic */ public class FooDataImpl implements FooData { public int getHeight() { return _height; } public int getId() { return _id; } public String getName() { return _name; } @Override public String getValue() { return _value; } public void setHeight(int height) { _height = height; } @Override public void setId(int id) { _id = id; } public void setName(String name) { _name = name; } public void setValue(String value) { _value = value; } @Override public String toString() { return "h=" + _height + "/id=" + _id + "/n=" + _name + "/v=" + _value; } private int _height = 177; private int _id = -1; private String _name = "John Doe"; private String _value = "foo!"; }