org.bidib.wizard.migration.schema.nodes.Nodes Maven / Gradle / Ivy
//
// This file was generated by the Eclipse Implementation of JAXB, v2.3.8
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2024.09.04 at 05:51:36 PM CEST
//
package org.bidib.wizard.migration.schema.nodes;
import java.util.ArrayList;
import java.util.Collection;
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.XmlType;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
/**
* Java class for Nodes complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Nodes">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://www.bidib.org/schema/migration/1.0}nodeLabel" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="searchPath" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="migratorClass" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="migrationXsl" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Nodes", propOrder = {
"nodeLabel"
})
public class Nodes {
protected List nodeLabel;
@XmlAttribute(name = "searchPath")
protected String searchPath;
@XmlAttribute(name = "migratorClass")
protected String migratorClass;
@XmlAttribute(name = "migrationXsl")
protected String migrationXsl;
/**
* Gets the value of the nodeLabel 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 nodeLabel property.
*
*
* For example, to add a new item, do as follows:
*
* getNodeLabel().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NodeLabel }
*
*
*/
public List getNodeLabel() {
if (nodeLabel == null) {
nodeLabel = new ArrayList();
}
return this.nodeLabel;
}
/**
* Gets the value of the searchPath property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSearchPath() {
return searchPath;
}
/**
* Sets the value of the searchPath property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSearchPath(String value) {
this.searchPath = value;
}
/**
* Gets the value of the migratorClass property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMigratorClass() {
return migratorClass;
}
/**
* Sets the value of the migratorClass property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMigratorClass(String value) {
this.migratorClass = value;
}
/**
* Gets the value of the migrationXsl property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMigrationXsl() {
return migrationXsl;
}
/**
* Sets the value of the migrationXsl property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMigrationXsl(String value) {
this.migrationXsl = value;
}
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
}
@Override
public boolean equals(Object that) {
return EqualsBuilder.reflectionEquals(this, that);
}
@Override
public int hashCode() {
return HashCodeBuilder.reflectionHashCode(this);
}
public Nodes withNodeLabel(NodeLabel... values) {
if (values!= null) {
for (NodeLabel value: values) {
getNodeLabel().add(value);
}
}
return this;
}
public Nodes withNodeLabel(Collection values) {
if (values!= null) {
getNodeLabel().addAll(values);
}
return this;
}
public Nodes withSearchPath(String value) {
setSearchPath(value);
return this;
}
public Nodes withMigratorClass(String value) {
setMigratorClass(value);
return this;
}
public Nodes withMigrationXsl(String value) {
setMigrationXsl(value);
return this;
}
}