//
// 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 recompilation of the source schema.
// Generated on: 2013.08.09 at 10:45:26 AM EST
//
package org.jentrata.ebxml.cpa;
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.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* </sequence>
* <attGroup ref="{http://www.oasis-open.org/committees/ebxml-cppa/schema/cpp-cpa-2_0.xsd}xlink.grp"/>
* <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
* <attribute name="schemaLocation" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
@XmlRootElement(name = "PartyRef")
public class PartyRef {
@XmlAttribute(name = "type", namespace = "http://www.oasis-open.org/committees/ebxml-cppa/schema/cpp-cpa-2_0.xsd")
@XmlSchemaType(name = "anyURI")
protected String partyRefType;
@XmlAttribute(name = "schemaLocation", namespace = "http://www.oasis-open.org/committees/ebxml-cppa/schema/cpp-cpa-2_0.xsd")
@XmlSchemaType(name = "anyURI")
protected String schemaLocation;
@XmlAttribute(name = "type", namespace = "http://www.w3.org/1999/xlink")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String type;
@XmlAttribute(name = "href", namespace = "http://www.w3.org/1999/xlink", required = true)
@XmlSchemaType(name = "anyURI")
protected String href;
/**
* Gets the value of the partyRefType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPartyRefType() {
return partyRefType;
}
/**
* Sets the value of the partyRefType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPartyRefType(String value) {
this.partyRefType = value;
}
/**
* Gets the value of the schemaLocation property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSchemaLocation() {
return schemaLocation;
}
/**
* Sets the value of the schemaLocation property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSchemaLocation(String value) {
this.schemaLocation = value;
}
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getType() {
if (type == null) {
return "simple";
} else {
return type;
}
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setType(String value) {
this.type = value;
}
/**
* 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;
}
}