/* * Copyright 2013, 2014, 2015 EnergyOS.org * * 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. */ // // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilations of the source schema. // Generated on: 2013.08.27 at 01:43:57 PM EDT // package org.energyos.espi.common.domain; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlSeeAlso; import javax.xml.bind.annotation.XmlType; import javax.xml.bind.annotation.adapters.HexBinaryAdapter; import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; /** * A resource is an addressable unit of information, either a collection (List) * or instance of an object (identifiedObject, or simply, Resource) * <p/> * <p> * Java class for Resource complex type. * <p/> * <p> * The following schema fragment specifies the expected content contained within * this class. * <p/> * * <pre> * <complexType name="Resource"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <attribute name="href" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> * <attribute name="replyTo" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> * <attribute name="responseRequired" type="{http://naesb.org/espi}HexBinary8" /> * <attribute name="signatureRequired" type="{http://www.w3.org/2001/XMLSchema}boolean" /> * <attribute name="subscribable" type="{http://www.w3.org/2001/XMLSchema}boolean" /> * </restriction> * </complexContent> * </complexType> * </pre> */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Resource") @XmlSeeAlso({ IdentifiedObject.class }) public class Resource { @XmlAttribute(name = "href") @XmlSchemaType(name = "anyURI") protected String href; @XmlAttribute(name = "replyTo") @XmlSchemaType(name = "anyURI") protected String replyTo; @XmlAttribute(name = "responseRequired") @XmlJavaTypeAdapter(HexBinaryAdapter.class) protected byte[] responseRequired; @XmlAttribute(name = "signatureRequired") protected Boolean signatureRequired; @XmlAttribute(name = "subscribable") protected Boolean subscribable; /** * Gets the value of the href property. * * @return possible object is {@link String } */ public String getHref() { return href; } /** * Sets the value of the href property. * * @param value * allowed object is {@link String } */ public void setHref(String value) { this.href = value; } /** * Gets the value of the replyTo property. * * @return possible object is {@link String } */ public String getReplyTo() { return replyTo; } /** * Sets the value of the replyTo property. * * @param value * allowed object is {@link String } */ public void setReplyTo(String value) { this.replyTo = value; } /** * Gets the value of the responseRequired property. * * @return possible object is {@link String } */ public byte[] getResponseRequired() { return responseRequired; } /** * Sets the value of the responseRequired property. * * @param value * allowed object is {@link String } */ public void setResponseRequired(byte[] value) { this.responseRequired = value; } /** * Gets the value of the signatureRequired property. * * @return possible object is {@link Boolean } */ public Boolean isSignatureRequired() { return signatureRequired; } /** * Sets the value of the signatureRequired property. * * @param value * allowed object is {@link Boolean } */ public void setSignatureRequired(Boolean value) { this.signatureRequired = value; } /** * Gets the value of the subscribable property. * * @return possible object is {@link Boolean } */ public Boolean isSubscribable() { return subscribable; } /** * Sets the value of the subscribable property. * * @param value * allowed object is {@link Boolean } */ public void setSubscribable(Boolean value) { this.subscribable = value; } }