com.evolveum.midpoint.xml.ns._public.common.common_1
Class XmlSchemaType

java.lang.Object
  extended by com.evolveum.midpoint.xml.ns._public.common.common_1.XmlSchemaType
All Implemented Interfaces:
java.io.Serializable

public class XmlSchemaType
extends java.lang.Object
implements java.io.Serializable

This element contains the XSD-formatted definition of schema. The schema available in this definition is expeceted to comply to the usual midPoint schema structure (properties, property containers), although it should not contain objects (persistent objects identified by OID). Note: This schema is considered to be available only in run-time. Therefore code-generation methods such as JAXB cannot be applied here. Note: xsd:any is here, but maybe a stricter type would be preferable. However xsd:any seems to be a common practice (e.g. SPML, WSDL).

Java class for XmlSchemaType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="XmlSchemaType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <any/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  java.util.List<org.w3c.dom.Element> any
           
 
Constructor Summary
XmlSchemaType()
           
 
Method Summary
 java.util.List<org.w3c.dom.Element> getAny()
          Gets the value of the any property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

any

protected java.util.List<org.w3c.dom.Element> any
Constructor Detail

XmlSchemaType

public XmlSchemaType()
Method Detail

getAny

public java.util.List<org.w3c.dom.Element> getAny()
Gets the value of the any property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the any property.

For example, to add a new item, do as follows:

    getAny().add(newItem);
 

Objects of the following type(s) are allowed in the list Element



Copyright © 2011 evolveum. All Rights Reserved.