
org.cloudgraph.state.URI Maven / Gradle / Ivy
Show all versions of cloudgraph-config Show documentation
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-2
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.09.11 at 04:43:08 PM MST
//
package org.cloudgraph.state;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
*
* A container for type mappings which is specific to a namespace
* universal resource identifier (URI). Contains
* one or more type maps.
*
* This an other mappings within the state structure are
* designed and included for the purpose of consolidation of
* potentially repetitive data which would otherwise be included
* within cells as column data or as part of composite column
* qualifiers.
*
* @see TypeMap
* @author Scott Cinnamond
* @since 0.5.2
*
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "URI", propOrder = {
"types"
})
public class URI {
@XmlElement(name = "Type", required = true)
protected List types;
@XmlAttribute(name = "uri", required = true)
protected String uri;
/**
*
* The collection of types within a URI map.
* Gets the value of the types property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the types property.
*
*
* For example, to add a new item, do as follows:
*
* getTypes().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TypeEntry }
*
*
*/
public List getTypes() {
if (types == null) {
types = new ArrayList();
}
return this.types;
}
/**
*
* The string of characters used to identify a name or a resource.
*
*
* @return
* possible object is
* {@link String }
*
*/
public String getUri() {
return uri;
}
/**
* Sets the value of the uri property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUri(String value) {
this.uri = value;
}
}