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

no.kith.xmlstds.MTAttribute Maven / Gradle / Ivy

There is a newer version: 4.2.0
Show newest version
/*
 * An XML attribute type.
 * Localname: MT
 * Namespace: http://www.kith.no/xmlstds
 * Java type: no.kith.xmlstds.MTAttribute
 *
 * Automatically generated - do not modify.
 */
package no.kith.xmlstds;

import org.apache.xmlbeans.impl.schema.ElementFactory;
import org.apache.xmlbeans.impl.schema.AbstractDocumentFactory;
import org.apache.xmlbeans.impl.schema.DocumentFactory;
import org.apache.xmlbeans.impl.schema.SimpleTypeFactory;


/**
 * A document containing one MT(@http://www.kith.no/xmlstds) attribute.
 *
 * This is a complex type.
 */
public interface MTAttribute extends org.apache.xmlbeans.XmlObject {
    DocumentFactory Factory = new DocumentFactory<>(io.github.mjhaugsdal.system.m96.x20180701.TypeSystemHolder.typeSystem, "mt6e5aattrtypetype");
    org.apache.xmlbeans.SchemaType type = Factory.getType();


    /**
     * Gets the "MT" attribute
     */
    no.kith.xmlstds.MTAttribute.MT.Enum getMT();

    /**
     * Gets (as xml) the "MT" attribute
     */
    no.kith.xmlstds.MTAttribute.MT xgetMT();

    /**
     * True if has "MT" attribute
     */
    boolean isSetMT();

    /**
     * Sets the "MT" attribute
     */
    void setMT(no.kith.xmlstds.MTAttribute.MT.Enum mt);

    /**
     * Sets (as xml) the "MT" attribute
     */
    void xsetMT(no.kith.xmlstds.MTAttribute.MT mt);

    /**
     * Unsets the "MT" attribute
     */
    void unsetMT();

    /**
     * An XML MT(@http://www.kith.no/xmlstds).
     *
     * This is an atomic type that is a restriction of no.kith.xmlstds.MTAttribute$MT.
     */
    public interface MT extends org.apache.xmlbeans.XmlToken {
        ElementFactory Factory = new ElementFactory<>(io.github.mjhaugsdal.system.m96.x20180701.TypeSystemHolder.typeSystem, "mt9311attrtype");
        org.apache.xmlbeans.SchemaType type = Factory.getType();


        org.apache.xmlbeans.StringEnumAbstractBase getEnumValue();
        void setEnumValue(org.apache.xmlbeans.StringEnumAbstractBase e);

        Enum TEXT_PLAIN = Enum.forString("text/plain");

        int INT_TEXT_PLAIN = Enum.INT_TEXT_PLAIN;

        /**
         * Enumeration value class for no.kith.xmlstds.MTAttribute$MT.
         * These enum values can be used as follows:
         * 
         * enum.toString(); // returns the string value of the enum
         * enum.intValue(); // returns an int value, useful for switches
         * // e.g., case Enum.INT_TEXT_PLAIN
         * Enum.forString(s); // returns the enum value for a string
         * Enum.forInt(i); // returns the enum value for an int
         * 
* Enumeration objects are immutable singleton objects that * can be compared using == object equality. They have no * public constructor. See the constants defined within this * class for all the valid values. */ final class Enum extends org.apache.xmlbeans.StringEnumAbstractBase { /** * Returns the enum value for a string, or null if none. */ public static Enum forString(java.lang.String s) { return (Enum)table.forString(s); } /** * Returns the enum value corresponding to an int, or null if none. */ public static Enum forInt(int i) { return (Enum)table.forInt(i); } private Enum(java.lang.String s, int i) { super(s, i); } static final int INT_TEXT_PLAIN = 1; public static final org.apache.xmlbeans.StringEnumAbstractBase.Table table = new org.apache.xmlbeans.StringEnumAbstractBase.Table(new Enum[] { new Enum("text/plain", INT_TEXT_PLAIN), }); private static final long serialVersionUID = 1L; private java.lang.Object readResolve() { return forInt(intValue()); } } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy