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>
         <element ref="{http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd}cachingMetadata" minOccurs="0"/>
         <any namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  java.util.List<org.w3c.dom.Element> any
           
protected  CachingMetadata cachingMetadata
           
 
Constructor Summary
XmlSchemaType()
           
 
Method Summary
 java.util.List<org.w3c.dom.Element> getAny()
          Gets the value of the any property.
 CachingMetadata getCachingMetadata()
          Gets the value of the cachingMetadata property.
 void setCachingMetadata(CachingMetadata value)
          Sets the value of the cachingMetadata property.
 java.lang.String toString()
          Generates a String representation of the contents of this type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

cachingMetadata

protected CachingMetadata cachingMetadata

any

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

XmlSchemaType

public XmlSchemaType()
Method Detail

getCachingMetadata

public CachingMetadata getCachingMetadata()
Gets the value of the cachingMetadata property.

Returns:
possible object is CachingMetadata

setCachingMetadata

public void setCachingMetadata(CachingMetadata value)
Sets the value of the cachingMetadata property.

Parameters:
value - allowed object is CachingMetadata

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


toString

public java.lang.String toString()
Generates a String representation of the contents of this type. This is an extension method, produced by the 'ts' xjc plugin

Overrides:
toString in class java.lang.Object


Copyright © 2011 evolveum. All Rights Reserved.