/* * Copyright 2009, OpenIAM LLC * This file is part of the OpenIAM Identity and Access Management Suite * * OpenIAM Identity and Access Management Suite is free software: * you can redistribute it and/or modify * it under the terms of the GNU General Public License * version 3 as published by the Free Software Foundation. * * OpenIAM 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 * Lesser GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with OpenIAM. If not, see <http://www.gnu.org/licenses/>. * */ /** * */ package org.openiam.base.ws; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlType; /** * Response class that is used for web service operations that return a boolean. * @author Suneet Shah * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "BooleanResponse", propOrder = { "value" }) public class BooleanResponse { @XmlAttribute(required = true) protected Boolean value; public BooleanResponse() { } public BooleanResponse(Boolean value) { super(); this.value = value; } public Boolean getValue() { return value; } public void setValue(Boolean value) { this.value = value; } }