Abstractsequence.java

//
// This file was generated by the Eclipse Implementation of JAXB, v4.0.5 
// See https://eclipse-ee4j.github.io/jaxb-ri 
// Any modifications to this file will be lost upon recompilation of the source schema. 
//


package org.apache.cxf.binding.corba.wsdl;

import javax.xml.namespace.QName;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlSeeAlso;
import jakarta.xml.bind.annotation.XmlType;


/**
 * abstract sequence of elements
 * 
 * <p>Java class for abstractsequence complex type</p>.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.</p>
 * 
 * <pre>{@code
 * <complexType name="abstractsequence">
 *   <complexContent>
 *     <extension base="{http://cxf.apache.org/bindings/corba}namedType">
 *       <attribute name="elemtype" use="required" type="{http://www.w3.org/2001/XMLSchema}QName" />
 *       <attribute name="bound" use="required" type="{http://cxf.apache.org/bindings/corba}ulong" />
 *       <attribute name="elemname" use="required" type="{http://www.w3.org/2001/XMLSchema}QName" />
 *       <attribute name="wrapped" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
 *     </extension>
 *   </complexContent>
 * </complexType>
 * }</pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "abstractsequence", namespace = "http://cxf.apache.org/bindings/corba")
@XmlSeeAlso({
    Sequence.class,
    Array.class
})
public abstract class Abstractsequence
    extends NamedType
{

    @XmlAttribute(name = "elemtype", required = true)
    protected QName elemtype;
    @XmlAttribute(name = "bound", required = true)
    protected long bound;
    @XmlAttribute(name = "elemname", required = true)
    protected QName elemname;
    @XmlAttribute(name = "wrapped")
    protected Boolean wrapped;

    /**
     * Gets the value of the elemtype property.
     * 
     * @return
     *     possible object is
     *     {@link QName }
     *     
     */
    public QName getElemtype() {
        return elemtype;
    }

    /**
     * Sets the value of the elemtype property.
     * 
     * @param value
     *     allowed object is
     *     {@link QName }
     *     
     */
    public void setElemtype(QName value) {
        this.elemtype = value;
    }

    public boolean isSetElemtype() {
        return (this.elemtype!= null);
    }

    /**
     * Gets the value of the bound property.
     * 
     */
    public long getBound() {
        return bound;
    }

    /**
     * Sets the value of the bound property.
     * 
     */
    public void setBound(long value) {
        this.bound = value;
    }

    public boolean isSetBound() {
        return true;
    }

    /**
     * Gets the value of the elemname property.
     * 
     * @return
     *     possible object is
     *     {@link QName }
     *     
     */
    public QName getElemname() {
        return elemname;
    }

    /**
     * Sets the value of the elemname property.
     * 
     * @param value
     *     allowed object is
     *     {@link QName }
     *     
     */
    public void setElemname(QName value) {
        this.elemname = value;
    }

    public boolean isSetElemname() {
        return (this.elemname!= null);
    }

    /**
     * Sets the value of the wrapped property.
     * 
     */
    public void setWrapped(boolean value) {
        wrapped = value;
    }

    public void unsetWrapped() {
        wrapped = null;
    }

    public boolean isSetWrapped() {
        return (this.wrapped!= null);
    }

    /**
     * Gets the value of the wrapped property.
     * 
     */
    public boolean isWrapped() {
        if (null == wrapped) {
            return true;
        }
        return wrapped;
    }

}