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, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode

public class XmlSchemaType
extends java.lang.Object
implements java.io.Serializable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode

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
           
static javax.xml.namespace.QName COMPLEX_TYPE
           
static javax.xml.namespace.QName F_ANY
           
static javax.xml.namespace.QName F_CACHING_METADATA
           
 
Constructor Summary
XmlSchemaType()
           
 
Method Summary
 boolean equals(java.lang.Object object)
           
 boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
           
 java.util.List<org.w3c.dom.Element> getAny()
          Gets the value of the any property.
 CachingMetadata getCachingMetadata()
          Gets the value of the cachingMetadata property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
           
 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, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

cachingMetadata

protected CachingMetadata cachingMetadata

any

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

COMPLEX_TYPE

public static final javax.xml.namespace.QName COMPLEX_TYPE

F_CACHING_METADATA

public static final javax.xml.namespace.QName F_CACHING_METADATA

F_ANY

public static final javax.xml.namespace.QName F_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

hashCode

public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                    org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
Specified by:
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
                      org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
                      java.lang.Object object,
                      org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
Specified by:
equals in interface org.jvnet.jaxb2_commons.lang.Equals

equals

public boolean equals(java.lang.Object object)
Overrides:
equals in class java.lang.Object


Copyright © 2012 evolveum. All Rights Reserved.