org.exoplatform.social.service.rest.api.models
Class Versions

java.lang.Object
  extended by org.exoplatform.social.service.rest.api.models.Versions

public class Versions
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 name="version" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

Since:
Jun 12, 2011
Author:
hoatle (hoatlevan at gmail dot com)

Field Summary
protected  List<String> versions
           
 
Constructor Summary
Versions()
           
 
Method Summary
 List<String> getVersions()
          Gets the value of the version property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

versions

protected List<String> versions
Constructor Detail

Versions

public Versions()
Method Detail

getVersions

public List<String> getVersions()
Gets the value of the version 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 version property.

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

    getVersion().add(newItem);
 

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



Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.