blob: 4e827a0bb837c29daed6d408fc93b0b37bfc6f93 [file] [log] [blame]
package com.android.repository.impl.generated.v1;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlID;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import com.android.repository.api.License;
import com.android.repository.impl.meta.TrimStringAdapter;
/**
* DO NOT EDIT
* This file was generated by xjc from repo-common-01.xsd. Any changes will be lost upon recompilation of the schema.
* See the schema file for instructions on running xjc.
*
*
* A license definition. Such a license must be used later as a reference
* using a uses-license element in one of the package elements.
*
*
* <p>Java class for licenseType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="licenseType"&gt;
* &lt;simpleContent&gt;
* &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema&gt;string"&gt;
* &lt;attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /&gt;
* &lt;attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" fixed="text" /&gt;
* &lt;/extension&gt;
* &lt;/simpleContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "licenseType", propOrder = {
"value"
})
@SuppressWarnings({
"override",
"unchecked"
})
public class LicenseType
extends License
{
@XmlValue
@XmlJavaTypeAdapter(TrimStringAdapter.class)
protected String value;
@XmlAttribute(name = "id")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlID
@XmlSchemaType(name = "ID")
protected String id;
@XmlAttribute(name = "type")
@XmlJavaTypeAdapter(TrimStringAdapter.class)
protected String type;
/**
* Gets the value of the value property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getValue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setValue(String value) {
this.value = value;
}
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getType() {
if (type == null) {
return new TrimStringAdapter().unmarshal("text");
} 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;
}
public ObjectFactory createFactory() {
return new ObjectFactory();
}
}