org.w3._2001.xmlschema
Class Annotated

java.lang.Object
  extended by org.w3._2001.xmlschema.OpenAttrs
      extended by org.w3._2001.xmlschema.Annotated
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Attribute, AttributeGroup, ComplexContent, ComplexType, Element, ExtensionType, Facet, Field, Group, Import, Include, Keybase, List, Notation, Restriction, RestrictionType, Selector, SimpleContent, SimpleType, Union, Wildcard

public class Annotated
extends OpenAttrs
implements java.io.Serializable

This type is extended by all types which allow annotation other than itself

Java class for annotated complex type.

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

 <complexType name="annotated">
   <complexContent>
     <extension base="{http://www.w3.org/2001/XMLSchema}openAttrs">
       <sequence>
         <element ref="{http://www.w3.org/2001/XMLSchema}annotation" minOccurs="0"/>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
       <anyAttribute processContents='lax' namespace='##other'/>
     </extension>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  Annotation annotation
           
protected  java.lang.String id
           
 
Constructor Summary
Annotated()
           
 
Method Summary
 Annotation getAnnotation()
          Gets the value of the annotation property.
 java.lang.String getId()
          Gets the value of the id property.
 void setAnnotation(Annotation value)
          Sets the value of the annotation property.
 void setId(java.lang.String value)
          Sets the value of the id property.
 java.lang.String toString()
          Generates a String representation of the contents of this type.
 
Methods inherited from class org.w3._2001.xmlschema.OpenAttrs
getOtherAttributes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

annotation

protected Annotation annotation

id

protected java.lang.String id
Constructor Detail

Annotated

public Annotated()
Method Detail

getAnnotation

public Annotation getAnnotation()
Gets the value of the annotation property.

Returns:
possible object is Annotation

setAnnotation

public void setAnnotation(Annotation value)
Sets the value of the annotation property.

Parameters:
value - allowed object is Annotation

getId

public java.lang.String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(java.lang.String value)
Sets the value of the id property.

Parameters:
value - allowed object is String

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 OpenAttrs


Copyright © 2011 evolveum. All Rights Reserved.