
io.inkstand.schemas.jcr_import.NodeDescriptor Maven / Gradle / Ivy
Show all versions of scribble-jcr 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: 2016.02.24 at 08:50:49 PM UTC
//
package io.inkstand.schemas.jcr_import;
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.XmlID;
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;
/**
* Defines the structure of a node definition.
*
*
* Java class for nodeDescriptor complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="nodeDescriptor">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="mixin" type="{http://inkstand.io/schemas/jcr-import}mixinDescriptor" maxOccurs="unbounded" minOccurs="0"/>
* <element name="property" type="{http://inkstand.io/schemas/jcr-import}propertyDescriptor" maxOccurs="unbounded" minOccurs="0"/>
* <element name="node" type="{http://inkstand.io/schemas/jcr-import}nodeDescriptor" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="path" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="primaryType" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "nodeDescriptor", propOrder = {
"mixin",
"property",
"node"
})
public class NodeDescriptor {
protected List mixin;
protected List property;
protected List node;
@XmlAttribute(name = "name", required = true)
protected String name;
@XmlAttribute(name = "path")
protected String path;
@XmlAttribute(name = "primaryType", required = true)
protected String primaryType;
@XmlAttribute(name = "id")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlID
@XmlSchemaType(name = "ID")
protected String id;
/**
* Gets the value of the mixin 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 mixin property.
*
*
* For example, to add a new item, do as follows:
*
* getMixin().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link MixinDescriptor }
*
*
*/
public List getMixin() {
if (mixin == null) {
mixin = new ArrayList();
}
return this.mixin;
}
/**
* Gets the value of the property 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 property property.
*
*
* For example, to add a new item, do as follows:
*
* getProperty().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PropertyDescriptor }
*
*
*/
public List getProperty() {
if (property == null) {
property = new ArrayList();
}
return this.property;
}
/**
* Gets the value of the node 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 node property.
*
*
* For example, to add a new item, do as follows:
*
* getNode().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NodeDescriptor }
*
*
*/
public List getNode() {
if (node == null) {
node = new ArrayList();
}
return this.node;
}
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the path property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPath() {
return path;
}
/**
* Sets the value of the path property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPath(String value) {
this.path = value;
}
/**
* Gets the value of the primaryType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPrimaryType() {
return primaryType;
}
/**
* Sets the value of the primaryType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPrimaryType(String value) {
this.primaryType = 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;
}
}