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

no.kith.xmlstds.felleskomponent1.TeleCom Maven / Gradle / Ivy

There is a newer version: 4.2.0
Show newest version
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.2 
// See https://eclipse-ee4j.github.io/jaxb-ri 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2023.03.16 at 08:56:03 PM CET 
//


package no.kith.xmlstds.felleskomponent1;

import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlType;
import no.kith.xmlstds.CS;
import no.kith.xmlstds.URL;


/**
 * Inneholder opplysninger om telekommunikasjonsadresse, inklusive kommunikasjonstype. Denne
 *                 klassen benyttes for � registrere telefonnummer, telefaks, persons�ker etc., knyttes opp mot de
 *                 registrerte adressene.
 *             
 * 
 * 

Java class for TeleCom complex type. * *

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

 * <complexType name="TeleCom">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="TypeTelecom" type="{http://www.kith.no/xmlstds}CS" minOccurs="0"/>
 *         <element name="TeleAddress" type="{http://www.kith.no/xmlstds}URL"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "TeleCom", propOrder = { "typeTelecom", "teleAddress" }) public final class TeleCom { @XmlElement(name = "TypeTelecom") private final CS typeTelecom; @XmlElement(name = "TeleAddress", required = true) private final URL teleAddress; public TeleCom(final CS typeTelecom, final URL teleAddress) { this.typeTelecom = typeTelecom; this.teleAddress = teleAddress; } /** * Used by JAX-B * */ protected TeleCom() { this.typeTelecom = null; this.teleAddress = null; } /** * Gets the value of the typeTelecom property. * * @return * possible object is * {@link CS } * */ public CS getTypeTelecom() { return typeTelecom; } /** * Gets the value of the teleAddress property. * * @return * possible object is * {@link URL } * */ public URL getTeleAddress() { return teleAddress; } public static TeleCom.TeleComBuilder teleComBuilder() { return new TeleCom.TeleComBuilder(); } public static class TeleComBuilder { private CS typeTelecom; private URL teleAddress; public TeleCom.TeleComBuilder withTypeTelecom(final CS typeTelecom) { this.typeTelecom = typeTelecom; return this; } public TeleCom.TeleComBuilder withTeleAddress(final URL teleAddress) { this.teleAddress = teleAddress; return this; } public TeleCom build() { if (teleAddress == null) { throw new NullPointerException("Required field 'teleAddress' have to be assigned a value."); } return new TeleCom(typeTelecom, teleAddress); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy