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

ca.canadapost.cpcdp.rating.generated.discovery.Link Maven / Gradle / Ivy

There is a newer version: 2.15.0
Show newest version
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2014.03.13 at 11:05:37 AM EDT 
//


package ca.canadapost.cpcdp.rating.generated.discovery;

import java.math.BigInteger;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.NormalizedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * 

Java class for LinkType complex type. * *

The following schema fragment specifies the expected content contained within this class. */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "LinkType") @XmlRootElement(name = "link") public class Link { @XmlAttribute(name = "href", required = true) @XmlSchemaType(name = "anyURI") protected String href; @XmlAttribute(name = "rel", required = true) protected RelType rel; @XmlAttribute(name = "index") @XmlSchemaType(name = "nonNegativeInteger") protected BigInteger index; @XmlAttribute(name = "media-type", required = true) @XmlJavaTypeAdapter(NormalizedStringAdapter.class) @XmlSchemaType(name = "normalizedString") protected String mediaType; /** * 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 rel property. * * @return * possible object is * {@link RelType } * */ public RelType getRel() { return rel; } /** * Sets the value of the rel property. * * @param value * allowed object is * {@link RelType } * */ public void setRel(RelType value) { this.rel = value; } /** * Gets the value of the index property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getIndex() { return index; } /** * Sets the value of the index property. * * @param value * allowed object is * {@link BigInteger } * */ public void setIndex(BigInteger value) { this.index = value; } /** * Gets the value of the mediaType property. * * @return * possible object is * {@link String } * */ public String getMediaType() { return mediaType; } /** * Sets the value of the mediaType property. * * @param value * allowed object is * {@link String } * */ public void setMediaType(String value) { this.mediaType = value; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy