maltcms.io.xml.bindings.annotation
Class MaltcmsAnnotation

java.lang.Object
  extended by maltcms.io.xml.bindings.annotation.MaltcmsAnnotation

public class MaltcmsAnnotation
extends Object

Java class for anonymous complex type.

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

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{http://maltcms.sourceforge.net/maltcmsAnnotation}resource"/>
         <element ref="{http://maltcms.sourceforge.net/maltcmsAnnotation}annotations" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Constructor Summary
MaltcmsAnnotation()
           
 
Method Summary
 List<AnnotationsType> getAnnotations()
          Gets the value of the annotations property.
 ResourceType getResource()
          Gets the value of the resource property.
 void setResource(ResourceType value)
          Sets the value of the resource property.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MaltcmsAnnotation

public MaltcmsAnnotation()
Method Detail

getResource

public ResourceType getResource()
Gets the value of the resource property.

Returns:
possible object is ResourceType

setResource

public void setResource(ResourceType value)
Sets the value of the resource property.

Parameters:
value - allowed object is ResourceType

getAnnotations

public List<AnnotationsType> getAnnotations()
Gets the value of the annotations 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 annotations property.

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

    getAnnotations().add(newItem);
 

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



Copyright © 2007-2012. All Rights Reserved.