
de.vdv.ojp20.siri.ValueSetStructure Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ojp-java-model Show documentation
Show all versions of ojp-java-model Show documentation
Generates Java model from OJP xsds using jaxb.
The newest version!
//
// This file was generated by the Eclipse Implementation of JAXB, v4.0.5
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
//
package de.vdv.ojp20.siri;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.CollapsedStringAdapter;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.opentripplanner.ojp.netex.OmitNullsToStringStyle;
/**
* Java class for ValueSetStructure complex type
.
*
* The following schema fragment specifies the expected content contained within this class.
*
* {@code
*
*
*
*
*
*
*
*
*
*
*
* }
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ValueSetStructure", propOrder = {
"valueSetCode",
"classOfValues",
"name",
"values"
})
public class ValueSetStructure {
@XmlElement(name = "ValueSetCode", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "NMTOKEN")
protected String valueSetCode;
@XmlElement(name = "ClassOfValues", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "Name")
protected String classOfValues;
@XmlElement(name = "Name")
protected NaturalLanguageStringStructure name;
@XmlElement(name = "Values", required = true)
protected ValuesStructure values;
/**
* Gets the value of the valueSetCode property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getValueSetCode() {
return valueSetCode;
}
/**
* Sets the value of the valueSetCode property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setValueSetCode(String value) {
this.valueSetCode = value;
}
/**
* Gets the value of the classOfValues property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getClassOfValues() {
return classOfValues;
}
/**
* Sets the value of the classOfValues property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setClassOfValues(String value) {
this.classOfValues = value;
}
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link NaturalLanguageStringStructure }
*
*/
public NaturalLanguageStringStructure getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link NaturalLanguageStringStructure }
*
*/
public void setName(NaturalLanguageStringStructure value) {
this.name = value;
}
/**
* Gets the value of the values property.
*
* @return
* possible object is
* {@link ValuesStructure }
*
*/
public ValuesStructure getValues() {
return values;
}
/**
* Sets the value of the values property.
*
* @param value
* allowed object is
* {@link ValuesStructure }
*
*/
public void setValues(ValuesStructure value) {
this.values = value;
}
public ValueSetStructure withValueSetCode(String value) {
setValueSetCode(value);
return this;
}
public ValueSetStructure withClassOfValues(String value) {
setClassOfValues(value);
return this;
}
public ValueSetStructure withName(NaturalLanguageStringStructure value) {
setName(value);
return this;
}
public ValueSetStructure withValues(ValuesStructure value) {
setValues(value);
return this;
}
/**
* Generates a String representation of the contents of this type.
* This is an extension method, produced by the 'ts' xjc plugin
*
*/
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this, OmitNullsToStringStyle.INSTANCE);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy