All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.glassfish.jersey.server.wadl.internal.generators.resourcedoc.model.RepresentationDocType Maven / Gradle / Ivy

/*
 * Copyright (c) 2010, 2020 Oracle and/or its affiliates. All rights reserved.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License v. 2.0, which is available at
 * http://www.eclipse.org/legal/epl-2.0.
 *
 * This Source Code may also be made available under the following Secondary
 * Licenses when the conditions for such availability set forth in the
 * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
 * version 2 with the GNU Classpath Exception, which is available at
 * https://www.gnu.org/software/classpath/license.html.
 *
 * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
 */

package org.glassfish.jersey.server.wadl.internal.generators.resourcedoc.model;

import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlType;
import javax.xml.namespace.QName;

/**
 * The documentation type for representations.
* Created on: Jun 16, 2008
* * @author Martin Grotzke (martin.grotzke at freiheit.com) */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "representationDoc", propOrder = { }) public class RepresentationDocType { @XmlAttribute private QName element; private String example; @XmlAttribute private Long status; @XmlAttribute private String mediaType; private String doc; /** * @return the element */ public QName getElement() { return element; } /** * @param element the element to set */ public void setElement(QName element) { this.element = element; } /** * @return the example */ public String getExample() { return example; } /** * @param example the example to set */ public void setExample(String example) { this.example = example; } /** * @return the status */ public Long getStatus() { return status; } /** * @param status the status to set */ public void setStatus(Long status) { this.status = status; } /** * @return the mediaType */ public String getMediaType() { return mediaType; } /** * @param mediaType the mediaType to set */ public void setMediaType(String mediaType) { this.mediaType = mediaType; } /** * @return the doc */ public String getDoc() { return doc; } /** * @param doc the doc to set */ public void setDoc(String doc) { this.doc = doc; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy