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

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

/*
 * An XML attribute type.
 * Localname: ICA
 * Namespace: http://www.kith.no/xmlstds
 * Java type: no.kith.xmlstds.ICAAttribute
 *
 * 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 ICA(@http://www.kith.no/xmlstds) attribute.
 *
 * This is a complex type.
 */
public interface ICAAttribute extends org.apache.xmlbeans.XmlObject {
    DocumentFactory Factory = new DocumentFactory<>(io.github.mjhaugsdal.system.m922.x20131015.TypeSystemHolder.typeSystem, "ica08d0attrtypetype");
    org.apache.xmlbeans.SchemaType type = Factory.getType();


    /**
     * Gets the "ICA" attribute
     */
    no.kith.xmlstds.ICAAttribute.ICA.Enum getICA();

    /**
     * Gets (as xml) the "ICA" attribute
     */
    no.kith.xmlstds.ICAAttribute.ICA xgetICA();

    /**
     * True if has "ICA" attribute
     */
    boolean isSetICA();

    /**
     * Sets the "ICA" attribute
     */
    void setICA(no.kith.xmlstds.ICAAttribute.ICA.Enum ica);

    /**
     * Sets (as xml) the "ICA" attribute
     */
    void xsetICA(no.kith.xmlstds.ICAAttribute.ICA ica);

    /**
     * Unsets the "ICA" attribute
     */
    void unsetICA();

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


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

        Enum SHA_1 = Enum.forString("SHA-1");

        int INT_SHA_1 = Enum.INT_SHA_1;

        /**
         * Enumeration value class for no.kith.xmlstds.ICAAttribute$ICA.
         * 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_SHA_1
         * 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_SHA_1 = 1; public static final org.apache.xmlbeans.StringEnumAbstractBase.Table table = new org.apache.xmlbeans.StringEnumAbstractBase.Table(new Enum[] { new Enum("SHA-1", INT_SHA_1), }); private static final long serialVersionUID = 1L; private java.lang.Object readResolve() { return forInt(intValue()); } } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy