One of my classes is suffering from xsd:any disease. It looks a lot like
all of my other classes, so I'm not sure what to think.

<xsd:complexType name="IndexDescription">
<xsd:sequence>
<xsd:element name="description" type="xsd:string"/>
<xsd:element name="id" type="xsd:string"/>
<xsd:element name="openForWriting" type="xsd:boolean"/>
<xsd:any maxOccurs="unbounded" minOccurs="0"/>
</xsd:sequence>
<xsd:anyAttribute/>
</xsd:complexType>


package com.basistech.rnm.index.ws;

import org.codehaus.xfire.aegis.type.java5.XmlType;

@XmlType(namespace="urn:com.basistech.rnm.index.ws")
public class IndexDescription {
        
        public IndexDescription () {
                id = "nonsense";
                description = "";
                openForWriting = false;
        }
        
        private String id;
        private String description;
        private boolean openForWriting;

        /**
         * @return the openForWriting
         */
        public boolean isOpenForWriting() {
                return openForWriting;
        }

        public String getDescription() {
                return description;
        }

        public void setDescription(String description) {
                this.description = description;
        }

        public String getId() {
                return id;
        }

        public void setId(String id) {
                this.id = id;
        }

        /**
         * @param openForWriting the openForWriting to set
         */
        public void setOpenForWriting(boolean openForWriting) {
                this.openForWriting = openForWriting;
        }

}

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to