com.helger.genericode.v10.ObjectFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ph-genericode Show documentation
Show all versions of ph-genericode Show documentation
Library to read and write OASIS GeneriCode and CVA documents
package com.helger.genericode.v10;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlElementDecl;
import javax.xml.bind.annotation.XmlRegistry;
import javax.xml.namespace.QName;
import com.helger.commons.annotation.CodingStyleguideUnaware;
/**
* This object contains factory methods for each
* Java content interface and Java element interface
* generated in the com.helger.genericode.v10 package.
* An ObjectFactory allows you to programatically
* construct new instances of the Java representation
* for XML content. The Java representation of XML
* content can consist of schema derived interfaces
* and classes representing the binding of schema
* type definitions, element declarations and model
* groups. Factory methods for each of these are
* provided in this class.
This class was annotated by ph-jaxb22-plugin -Xph-annotate
*
*
*/
@XmlRegistry
@CodingStyleguideUnaware
public class ObjectFactory {
public final static QName _CodeList_QNAME = new QName("http://docs.oasis-open.org/codelist/ns/genericode/1.0/", "CodeList");
public final static QName _CodeListSet_QNAME = new QName("http://docs.oasis-open.org/codelist/ns/genericode/1.0/", "CodeListSet");
public final static QName _ColumnSet_QNAME = new QName("http://docs.oasis-open.org/codelist/ns/genericode/1.0/", "ColumnSet");
/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.helger.genericode.v10
*
*/
public ObjectFactory() {
}
/**
* Create an instance of {@link CodeListDocument }
*
* @return
* The created CodeListDocument object and never null
.
*/
@Nonnull
public CodeListDocument createCodeListDocument() {
return new CodeListDocument();
}
/**
* Create an instance of {@link CodeListSetDocument }
*
* @return
* The created CodeListSetDocument object and never null
.
*/
@Nonnull
public CodeListSetDocument createCodeListSetDocument() {
return new CodeListSetDocument();
}
/**
* Create an instance of {@link ColumnSetDocument }
*
* @return
* The created ColumnSetDocument object and never null
.
*/
@Nonnull
public ColumnSetDocument createColumnSetDocument() {
return new ColumnSetDocument();
}
/**
* Create an instance of {@link Agency }
*
* @return
* The created Agency object and never null
.
*/
@Nonnull
public Agency createAgency() {
return new Agency();
}
/**
* Create an instance of {@link Annotation }
*
* @return
* The created Annotation object and never null
.
*/
@Nonnull
public Annotation createAnnotation() {
return new Annotation();
}
/**
* Create an instance of {@link AnyOtherContent }
*
* @return
* The created AnyOtherContent object and never null
.
*/
@Nonnull
public AnyOtherContent createAnyOtherContent() {
return new AnyOtherContent();
}
/**
* Create an instance of {@link AnyOtherLanguageContent }
*
* @return
* The created AnyOtherLanguageContent object and never null
.
*/
@Nonnull
public AnyOtherLanguageContent createAnyOtherLanguageContent() {
return new AnyOtherLanguageContent();
}
/**
* Create an instance of {@link CodeListRef }
*
* @return
* The created CodeListRef object and never null
.
*/
@Nonnull
public CodeListRef createCodeListRef() {
return new CodeListRef();
}
/**
* Create an instance of {@link CodeListSetRef }
*
* @return
* The created CodeListSetRef object and never null
.
*/
@Nonnull
public CodeListSetRef createCodeListSetRef() {
return new CodeListSetRef();
}
/**
* Create an instance of {@link Column }
*
* @return
* The created Column object and never null
.
*/
@Nonnull
public Column createColumn() {
return new Column();
}
/**
* Create an instance of {@link ColumnRef }
*
* @return
* The created ColumnRef object and never null
.
*/
@Nonnull
public ColumnRef createColumnRef() {
return new ColumnRef();
}
/**
* Create an instance of {@link ColumnSet }
*
* @return
* The created ColumnSet object and never null
.
*/
@Nonnull
public ColumnSet createColumnSet() {
return new ColumnSet();
}
/**
* Create an instance of {@link ColumnSetRef }
*
* @return
* The created ColumnSetRef object and never null
.
*/
@Nonnull
public ColumnSetRef createColumnSetRef() {
return new ColumnSetRef();
}
/**
* Create an instance of {@link Data }
*
* @return
* The created Data object and never null
.
*/
@Nonnull
public Data createData() {
return new Data();
}
/**
* Create an instance of {@link DataRestrictions }
*
* @return
* The created DataRestrictions object and never null
.
*/
@Nonnull
public DataRestrictions createDataRestrictions() {
return new DataRestrictions();
}
/**
* Create an instance of {@link DatatypeFacet }
*
* @return
* The created DatatypeFacet object and never null
.
*/
@Nonnull
public DatatypeFacet createDatatypeFacet() {
return new DatatypeFacet();
}
/**
* Create an instance of {@link GeneralIdentifier }
*
* @return
* The created GeneralIdentifier object and never null
.
*/
@Nonnull
public GeneralIdentifier createGeneralIdentifier() {
return new GeneralIdentifier();
}
/**
* Create an instance of {@link Identification }
*
* @return
* The created Identification object and never null
.
*/
@Nonnull
public Identification createIdentification() {
return new Identification();
}
/**
* Create an instance of {@link Key }
*
* @return
* The created Key object and never null
.
*/
@Nonnull
public Key createKey() {
return new Key();
}
/**
* Create an instance of {@link KeyColumnRef }
*
* @return
* The created KeyColumnRef object and never null
.
*/
@Nonnull
public KeyColumnRef createKeyColumnRef() {
return new KeyColumnRef();
}
/**
* Create an instance of {@link KeyRef }
*
* @return
* The created KeyRef object and never null
.
*/
@Nonnull
public KeyRef createKeyRef() {
return new KeyRef();
}
/**
* Create an instance of {@link LongName }
*
* @return
* The created LongName object and never null
.
*/
@Nonnull
public LongName createLongName() {
return new LongName();
}
/**
* Create an instance of {@link MimeTypedUri }
*
* @return
* The created MimeTypedUri object and never null
.
*/
@Nonnull
public MimeTypedUri createMimeTypedUri() {
return new MimeTypedUri();
}
/**
* Create an instance of {@link Row }
*
* @return
* The created Row object and never null
.
*/
@Nonnull
public Row createRow() {
return new Row();
}
/**
* Create an instance of {@link ShortName }
*
* @return
* The created ShortName object and never null
.
*/
@Nonnull
public ShortName createShortName() {
return new ShortName();
}
/**
* Create an instance of {@link SimpleCodeList }
*
* @return
* The created SimpleCodeList object and never null
.
*/
@Nonnull
public SimpleCodeList createSimpleCodeList() {
return new SimpleCodeList();
}
/**
* Create an instance of {@link SimpleValue }
*
* @return
* The created SimpleValue object and never null
.
*/
@Nonnull
public SimpleValue createSimpleValue() {
return new SimpleValue();
}
/**
* Create an instance of {@link Value }
*
* @return
* The created Value object and never null
.
*/
@Nonnull
public Value createValue() {
return new Value();
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link CodeListDocument }{@code >}}
*
* @return
* The created JAXBElement and never null
.
*/
@XmlElementDecl(namespace = "http://docs.oasis-open.org/codelist/ns/genericode/1.0/", name = "CodeList")
@Nonnull
public JAXBElement createCodeList(
@Nullable
final CodeListDocument value) {
return new JAXBElement(_CodeList_QNAME, CodeListDocument.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link CodeListSetDocument }{@code >}}
*
* @return
* The created JAXBElement and never null
.
*/
@XmlElementDecl(namespace = "http://docs.oasis-open.org/codelist/ns/genericode/1.0/", name = "CodeListSet")
@Nonnull
public JAXBElement createCodeListSet(
@Nullable
final CodeListSetDocument value) {
return new JAXBElement(_CodeListSet_QNAME, CodeListSetDocument.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link ColumnSetDocument }{@code >}}
*
* @return
* The created JAXBElement and never null
.
*/
@XmlElementDecl(namespace = "http://docs.oasis-open.org/codelist/ns/genericode/1.0/", name = "ColumnSet")
@Nonnull
public JAXBElement createColumnSet(
@Nullable
final ColumnSetDocument value) {
return new JAXBElement(_ColumnSet_QNAME, ColumnSetDocument.class, null, value);
}
}