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

noNamespace.ResponsePackageV2Type Maven / Gradle / Ivy

The newest version!
/*
 * XML Type:  ResponsePackageV2Type
 * Namespace: 
 * Java type: noNamespace.ResponsePackageV2Type
 *
 * Automatically generated - do not modify.
 */
package noNamespace;


/**
 * An XML ResponsePackageV2Type(@).
 *
 * This is a complex type.
 */
public interface ResponsePackageV2Type extends org.apache.xmlbeans.XmlObject
{
    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
        org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(ResponsePackageV2Type.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s3503F9A07BB1731BF5BC1281AADEB8D0").resolveHandle("responsepackagev2typea612type");
    
    /**
     * Gets the "ZipOrigination" element
     */
    int getZipOrigination();
    
    /**
     * Gets (as xml) the "ZipOrigination" element
     */
    org.apache.xmlbeans.XmlInt xgetZipOrigination();
    
    /**
     * Sets the "ZipOrigination" element
     */
    void setZipOrigination(int zipOrigination);
    
    /**
     * Sets (as xml) the "ZipOrigination" element
     */
    void xsetZipOrigination(org.apache.xmlbeans.XmlInt zipOrigination);
    
    /**
     * Gets the "ZipDestination" element
     */
    int getZipDestination();
    
    /**
     * Gets (as xml) the "ZipDestination" element
     */
    org.apache.xmlbeans.XmlInt xgetZipDestination();
    
    /**
     * Sets the "ZipDestination" element
     */
    void setZipDestination(int zipDestination);
    
    /**
     * Sets (as xml) the "ZipDestination" element
     */
    void xsetZipDestination(org.apache.xmlbeans.XmlInt zipDestination);
    
    /**
     * Gets the "Pounds" element
     */
    int getPounds();
    
    /**
     * Gets (as xml) the "Pounds" element
     */
    org.apache.xmlbeans.XmlInt xgetPounds();
    
    /**
     * Sets the "Pounds" element
     */
    void setPounds(int pounds);
    
    /**
     * Sets (as xml) the "Pounds" element
     */
    void xsetPounds(org.apache.xmlbeans.XmlInt pounds);
    
    /**
     * Gets the "Ounces" element
     */
    float getOunces();
    
    /**
     * Gets (as xml) the "Ounces" element
     */
    org.apache.xmlbeans.XmlFloat xgetOunces();
    
    /**
     * Sets the "Ounces" element
     */
    void setOunces(float ounces);
    
    /**
     * Sets (as xml) the "Ounces" element
     */
    void xsetOunces(org.apache.xmlbeans.XmlFloat ounces);
    
    /**
     * Gets the "Container" element
     */
    noNamespace.ResponsePackageV2Type.Container.Enum getContainer();
    
    /**
     * Gets (as xml) the "Container" element
     */
    noNamespace.ResponsePackageV2Type.Container xgetContainer();
    
    /**
     * True if has "Container" element
     */
    boolean isSetContainer();
    
    /**
     * Sets the "Container" element
     */
    void setContainer(noNamespace.ResponsePackageV2Type.Container.Enum container);
    
    /**
     * Sets (as xml) the "Container" element
     */
    void xsetContainer(noNamespace.ResponsePackageV2Type.Container container);
    
    /**
     * Unsets the "Container" element
     */
    void unsetContainer();
    
    /**
     * Gets the "Size" element
     */
    noNamespace.ResponsePackageV2Type.Size.Enum getSize();
    
    /**
     * Gets (as xml) the "Size" element
     */
    noNamespace.ResponsePackageV2Type.Size xgetSize();
    
    /**
     * True if has "Size" element
     */
    boolean isSetSize();
    
    /**
     * Sets the "Size" element
     */
    void setSize(noNamespace.ResponsePackageV2Type.Size.Enum size);
    
    /**
     * Sets (as xml) the "Size" element
     */
    void xsetSize(noNamespace.ResponsePackageV2Type.Size size);
    
    /**
     * Unsets the "Size" element
     */
    void unsetSize();
    
    /**
     * Gets the "Machinable" element
     */
    boolean getMachinable();
    
    /**
     * Gets (as xml) the "Machinable" element
     */
    org.apache.xmlbeans.XmlBoolean xgetMachinable();
    
    /**
     * True if has "Machinable" element
     */
    boolean isSetMachinable();
    
    /**
     * Sets the "Machinable" element
     */
    void setMachinable(boolean machinable);
    
    /**
     * Sets (as xml) the "Machinable" element
     */
    void xsetMachinable(org.apache.xmlbeans.XmlBoolean machinable);
    
    /**
     * Unsets the "Machinable" element
     */
    void unsetMachinable();
    
    /**
     * Gets the "Zone" element
     */
    java.lang.String getZone();
    
    /**
     * Gets (as xml) the "Zone" element
     */
    org.apache.xmlbeans.XmlString xgetZone();
    
    /**
     * True if has "Zone" element
     */
    boolean isSetZone();
    
    /**
     * Sets the "Zone" element
     */
    void setZone(java.lang.String zone);
    
    /**
     * Sets (as xml) the "Zone" element
     */
    void xsetZone(org.apache.xmlbeans.XmlString zone);
    
    /**
     * Unsets the "Zone" element
     */
    void unsetZone();
    
    /**
     * Gets array of all "Postage" elements
     */
    noNamespace.PostageV2Type[] getPostageArray();
    
    /**
     * Gets ith "Postage" element
     */
    noNamespace.PostageV2Type getPostageArray(int i);
    
    /**
     * Returns number of "Postage" element
     */
    int sizeOfPostageArray();
    
    /**
     * Sets array of all "Postage" element
     */
    void setPostageArray(noNamespace.PostageV2Type[] postageArray);
    
    /**
     * Sets ith "Postage" element
     */
    void setPostageArray(int i, noNamespace.PostageV2Type postage);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "Postage" element
     */
    noNamespace.PostageV2Type insertNewPostage(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "Postage" element
     */
    noNamespace.PostageV2Type addNewPostage();
    
    /**
     * Removes the ith "Postage" element
     */
    void removePostage(int i);
    
    /**
     * Gets the "Restrictions" element
     */
    java.lang.String getRestrictions();
    
    /**
     * Gets (as xml) the "Restrictions" element
     */
    org.apache.xmlbeans.XmlString xgetRestrictions();
    
    /**
     * True if has "Restrictions" element
     */
    boolean isSetRestrictions();
    
    /**
     * Sets the "Restrictions" element
     */
    void setRestrictions(java.lang.String restrictions);
    
    /**
     * Sets (as xml) the "Restrictions" element
     */
    void xsetRestrictions(org.apache.xmlbeans.XmlString restrictions);
    
    /**
     * Unsets the "Restrictions" element
     */
    void unsetRestrictions();
    
    /**
     * Gets the "Error" element
     */
    noNamespace.ErrorV2Type getError();
    
    /**
     * True if has "Error" element
     */
    boolean isSetError();
    
    /**
     * Sets the "Error" element
     */
    void setError(noNamespace.ErrorV2Type error);
    
    /**
     * Appends and returns a new empty "Error" element
     */
    noNamespace.ErrorV2Type addNewError();
    
    /**
     * Unsets the "Error" element
     */
    void unsetError();
    
    /**
     * Gets the "ID" attribute
     */
    java.lang.String getID();
    
    /**
     * Gets (as xml) the "ID" attribute
     */
    org.apache.xmlbeans.XmlString xgetID();
    
    /**
     * True if has "ID" attribute
     */
    boolean isSetID();
    
    /**
     * Sets the "ID" attribute
     */
    void setID(java.lang.String id);
    
    /**
     * Sets (as xml) the "ID" attribute
     */
    void xsetID(org.apache.xmlbeans.XmlString id);
    
    /**
     * Unsets the "ID" attribute
     */
    void unsetID();
    
    /**
     * An XML Container(@).
     *
     * This is an atomic type that is a restriction of noNamespace.ResponsePackageV2Type$Container.
     */
    public interface Container extends org.apache.xmlbeans.XmlString
    {
        public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
            org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(Container.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s3503F9A07BB1731BF5BC1281AADEB8D0").resolveHandle("containerd9efelemtype");
        
        org.apache.xmlbeans.StringEnumAbstractBase enumValue();
        void set(org.apache.xmlbeans.StringEnumAbstractBase e);
        
        static final Enum FLAT_RATE_BOX = Enum.forString("Flat Rate Box");
        static final Enum FLAT_RATE_ENVELOPE = Enum.forString("Flat Rate Envelope");
        
        static final int INT_FLAT_RATE_BOX = Enum.INT_FLAT_RATE_BOX;
        static final int INT_FLAT_RATE_ENVELOPE = Enum.INT_FLAT_RATE_ENVELOPE;
        
        /**
         * Enumeration value class for noNamespace.ResponsePackageV2Type$Container.
         * 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_FLAT_RATE_BOX
         * 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. */ static 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_FLAT_RATE_BOX = 1; static final int INT_FLAT_RATE_ENVELOPE = 2; public static final org.apache.xmlbeans.StringEnumAbstractBase.Table table = new org.apache.xmlbeans.StringEnumAbstractBase.Table ( new Enum[] { new Enum("Flat Rate Box", INT_FLAT_RATE_BOX), new Enum("Flat Rate Envelope", INT_FLAT_RATE_ENVELOPE), } ); private static final long serialVersionUID = 1L; private java.lang.Object readResolve() { return forInt(intValue()); } } /** * A factory class with static methods for creating instances * of this type. */ public static final class Factory { public static noNamespace.ResponsePackageV2Type.Container newValue(java.lang.Object obj) { return (noNamespace.ResponsePackageV2Type.Container) type.newValue( obj ); } public static noNamespace.ResponsePackageV2Type.Container newInstance() { return (noNamespace.ResponsePackageV2Type.Container) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); } public static noNamespace.ResponsePackageV2Type.Container newInstance(org.apache.xmlbeans.XmlOptions options) { return (noNamespace.ResponsePackageV2Type.Container) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); } private Factory() { } // No instance of this class allowed } } /** * An XML Size(@). * * This is an atomic type that is a restriction of noNamespace.ResponsePackageV2Type$Size. */ public interface Size extends org.apache.xmlbeans.XmlString { public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType) org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(Size.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s3503F9A07BB1731BF5BC1281AADEB8D0").resolveHandle("size89bfelemtype"); org.apache.xmlbeans.StringEnumAbstractBase enumValue(); void set(org.apache.xmlbeans.StringEnumAbstractBase e); static final Enum REGULAR = Enum.forString("REGULAR"); static final Enum LARGE = Enum.forString("LARGE"); static final Enum OVERSIZE = Enum.forString("OVERSIZE"); static final int INT_REGULAR = Enum.INT_REGULAR; static final int INT_LARGE = Enum.INT_LARGE; static final int INT_OVERSIZE = Enum.INT_OVERSIZE; /** * Enumeration value class for noNamespace.ResponsePackageV2Type$Size. * 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_REGULAR
         * 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. */ static 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_REGULAR = 1; static final int INT_LARGE = 2; static final int INT_OVERSIZE = 3; public static final org.apache.xmlbeans.StringEnumAbstractBase.Table table = new org.apache.xmlbeans.StringEnumAbstractBase.Table ( new Enum[] { new Enum("REGULAR", INT_REGULAR), new Enum("LARGE", INT_LARGE), new Enum("OVERSIZE", INT_OVERSIZE), } ); private static final long serialVersionUID = 1L; private java.lang.Object readResolve() { return forInt(intValue()); } } /** * A factory class with static methods for creating instances * of this type. */ public static final class Factory { public static noNamespace.ResponsePackageV2Type.Size newValue(java.lang.Object obj) { return (noNamespace.ResponsePackageV2Type.Size) type.newValue( obj ); } public static noNamespace.ResponsePackageV2Type.Size newInstance() { return (noNamespace.ResponsePackageV2Type.Size) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); } public static noNamespace.ResponsePackageV2Type.Size newInstance(org.apache.xmlbeans.XmlOptions options) { return (noNamespace.ResponsePackageV2Type.Size) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); } private Factory() { } // No instance of this class allowed } } /** * A factory class with static methods for creating instances * of this type. */ public static final class Factory { public static noNamespace.ResponsePackageV2Type newInstance() { return (noNamespace.ResponsePackageV2Type) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); } public static noNamespace.ResponsePackageV2Type newInstance(org.apache.xmlbeans.XmlOptions options) { return (noNamespace.ResponsePackageV2Type) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); } /** @param xmlAsString the string value to parse */ public static noNamespace.ResponsePackageV2Type parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException { return (noNamespace.ResponsePackageV2Type) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); } public static noNamespace.ResponsePackageV2Type parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { return (noNamespace.ResponsePackageV2Type) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); } /** @param file the file from which to load an xml document */ public static noNamespace.ResponsePackageV2Type parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException { return (noNamespace.ResponsePackageV2Type) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); } public static noNamespace.ResponsePackageV2Type parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { return (noNamespace.ResponsePackageV2Type) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); } public static noNamespace.ResponsePackageV2Type parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException { return (noNamespace.ResponsePackageV2Type) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); } public static noNamespace.ResponsePackageV2Type parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { return (noNamespace.ResponsePackageV2Type) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); } public static noNamespace.ResponsePackageV2Type parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException { return (noNamespace.ResponsePackageV2Type) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); } public static noNamespace.ResponsePackageV2Type parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { return (noNamespace.ResponsePackageV2Type) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); } public static noNamespace.ResponsePackageV2Type parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException { return (noNamespace.ResponsePackageV2Type) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); } public static noNamespace.ResponsePackageV2Type parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { return (noNamespace.ResponsePackageV2Type) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); } public static noNamespace.ResponsePackageV2Type parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException { return (noNamespace.ResponsePackageV2Type) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); } public static noNamespace.ResponsePackageV2Type parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { return (noNamespace.ResponsePackageV2Type) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); } public static noNamespace.ResponsePackageV2Type parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException { return (noNamespace.ResponsePackageV2Type) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); } public static noNamespace.ResponsePackageV2Type parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { return (noNamespace.ResponsePackageV2Type) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); } /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ public static noNamespace.ResponsePackageV2Type parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException { return (noNamespace.ResponsePackageV2Type) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); } /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ public static noNamespace.ResponsePackageV2Type parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException { return (noNamespace.ResponsePackageV2Type) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); } /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException { return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); } /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException { return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); } private Factory() { } // No instance of this class allowed } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy