All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.vdv.ojp20.siri.BrandingStructure Maven / Gradle / Ivy

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.NormalizedStringAdapter;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.opentripplanner.ojp.netex.OmitNullsToStringStyle;


/**
 * 

Java class for BrandingStructure complex type

. * *

The following schema fragment specifies the expected content contained within this class.

* *
{@code
 * 
 *   
 *     
 *       
 *         
 *         
 *       
 *     
 *   
 * 
 * }
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "BrandingStructure", propOrder = { "brandingCode", "name", "shortName", "description", "image", "url", "privateCode" }) public class BrandingStructure { @XmlElement(name = "BrandingCode", required = true) @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "NMTOKEN") protected String brandingCode; @XmlElement(name = "Name") protected NaturalLanguageStringStructure name; @XmlElement(name = "ShortName") protected NaturalLanguageStringStructure shortName; @XmlElement(name = "Description") protected NaturalLanguageStringStructure description; @XmlElement(name = "Image") @XmlSchemaType(name = "anyURI") protected String image; @XmlElement(name = "Url") @XmlSchemaType(name = "anyURI") protected String url; @XmlElement(name = "PrivateCode") @XmlJavaTypeAdapter(NormalizedStringAdapter.class) @XmlSchemaType(name = "normalizedString") protected String privateCode; /** * Gets the value of the brandingCode property. * * @return * possible object is * {@link String } * */ public String getBrandingCode() { return brandingCode; } /** * Sets the value of the brandingCode property. * * @param value * allowed object is * {@link String } * */ public void setBrandingCode(String value) { this.brandingCode = 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 shortName property. * * @return * possible object is * {@link NaturalLanguageStringStructure } * */ public NaturalLanguageStringStructure getShortName() { return shortName; } /** * Sets the value of the shortName property. * * @param value * allowed object is * {@link NaturalLanguageStringStructure } * */ public void setShortName(NaturalLanguageStringStructure value) { this.shortName = value; } /** * Gets the value of the description property. * * @return * possible object is * {@link NaturalLanguageStringStructure } * */ public NaturalLanguageStringStructure getDescription() { return description; } /** * Sets the value of the description property. * * @param value * allowed object is * {@link NaturalLanguageStringStructure } * */ public void setDescription(NaturalLanguageStringStructure value) { this.description = value; } /** * Gets the value of the image property. * * @return * possible object is * {@link String } * */ public String getImage() { return image; } /** * Sets the value of the image property. * * @param value * allowed object is * {@link String } * */ public void setImage(String value) { this.image = value; } /** * Gets the value of the url property. * * @return * possible object is * {@link String } * */ public String getUrl() { return url; } /** * Sets the value of the url property. * * @param value * allowed object is * {@link String } * */ public void setUrl(String value) { this.url = value; } /** * Gets the value of the privateCode property. * * @return * possible object is * {@link String } * */ public String getPrivateCode() { return privateCode; } /** * Sets the value of the privateCode property. * * @param value * allowed object is * {@link String } * */ public void setPrivateCode(String value) { this.privateCode = value; } public BrandingStructure withBrandingCode(String value) { setBrandingCode(value); return this; } public BrandingStructure withName(NaturalLanguageStringStructure value) { setName(value); return this; } public BrandingStructure withShortName(NaturalLanguageStringStructure value) { setShortName(value); return this; } public BrandingStructure withDescription(NaturalLanguageStringStructure value) { setDescription(value); return this; } public BrandingStructure withImage(String value) { setImage(value); return this; } public BrandingStructure withUrl(String value) { setUrl(value); return this; } public BrandingStructure withPrivateCode(String value) { setPrivateCode(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