net.sf.dynamicreports.adhoc.xmlconfiguration
Class XmlAdhocValueRestriction

java.lang.Object
  extended by net.sf.dynamicreports.adhoc.xmlconfiguration.XmlAdhocRestriction
      extended by net.sf.dynamicreports.adhoc.xmlconfiguration.XmlAdhocValueRestriction

public class XmlAdhocValueRestriction
extends XmlAdhocRestriction

Java class for ValueRestriction complex type.

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

 <complexType name="ValueRestriction">
   <complexContent>
     <extension base="{http://dynamicreports.sourceforge.net/schema/adhocconfiguration}Restriction">
       <sequence>
         <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="operator" type="{http://dynamicreports.sourceforge.net/schema/adhocconfiguration}ValueOperator" />
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  String name
           
protected  XmlAdhocValueOperator operator
           
protected  List<String> value
           
 
Fields inherited from class net.sf.dynamicreports.adhoc.xmlconfiguration.XmlAdhocRestriction
key, property
 
Constructor Summary
XmlAdhocValueRestriction()
           
 
Method Summary
 String getName()
          Gets the value of the name property.
 XmlAdhocValueOperator getOperator()
          Gets the value of the operator property.
 List<String> getValue()
          Gets the value of the value property.
 void setName(String value)
          Sets the value of the name property.
 void setOperator(XmlAdhocValueOperator value)
          Sets the value of the operator property.
 
Methods inherited from class net.sf.dynamicreports.adhoc.xmlconfiguration.XmlAdhocRestriction
getKey, getProperty, setKey
 
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

name

protected String name

operator

protected XmlAdhocValueOperator operator
Constructor Detail

XmlAdhocValueRestriction

public XmlAdhocValueRestriction()
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


getName

public String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

getOperator

public XmlAdhocValueOperator getOperator()
Gets the value of the operator property.

Returns:
possible object is XmlAdhocValueOperator

setOperator

public void setOperator(XmlAdhocValueOperator value)
Sets the value of the operator property.

Parameters:
value - allowed object is XmlAdhocValueOperator


Copyright © 2010-2012. All Rights Reserved.