eu.scape_project.xa.tw.toolspec
Class Restriction

java.lang.Object
  extended by eu.scape_project.xa.tw.toolspec.Restriction

public class Restriction
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="Value" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
       </sequence>
       <attribute name="multiple" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  Boolean multiple
           
protected  List<String> value
           
 
Constructor Summary
Restriction()
           
 
Method Summary
 List<String> getValue()
          Gets the value of the value property.
 boolean isMultiple()
          Gets the value of the multiple property.
 void setMultiple(Boolean value)
          Sets the value of the multiple property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

protected List<String> value

multiple

protected Boolean multiple
Constructor Detail

Restriction

public Restriction()
Method Detail

getValue

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

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

    getValue().add(newItem);
 

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


isMultiple

public boolean isMultiple()
Gets the value of the multiple property.

Returns:
possible object is Boolean

setMultiple

public void setMultiple(Boolean value)
Sets the value of the multiple property.

Parameters:
value - allowed object is Boolean


Copyright © 2013. All Rights Reserved.