net.sf.dynamicreports.adhoc.xmlconfiguration
Class XmlAdhocRestriction

java.lang.Object
  extended by net.sf.dynamicreports.adhoc.xmlconfiguration.XmlAdhocRestriction
Direct Known Subclasses:
XmlAdhocValueRestriction

public class XmlAdhocRestriction
extends Object

Java class for Restriction complex type.

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

 <complexType name="Restriction">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="property" type="{http://dynamicreports.sourceforge.net/schema/adhocconfiguration}Property" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="key" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  String key
           
protected  List<XmlAdhocProperty> property
           
 
Constructor Summary
XmlAdhocRestriction()
           
 
Method Summary
 String getKey()
          Gets the value of the key property.
 List<XmlAdhocProperty> getProperty()
          Gets the value of the property property.
 void setKey(String value)
          Sets the value of the key property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

property

protected List<XmlAdhocProperty> property

key

protected String key
Constructor Detail

XmlAdhocRestriction

public XmlAdhocRestriction()
Method Detail

getProperty

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

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

    getProperty().add(newItem);
 

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


getKey

public String getKey()
Gets the value of the key property.

Returns:
possible object is String

setKey

public void setKey(String value)
Sets the value of the key property.

Parameters:
value - allowed object is String


Copyright © 2010-2013. All Rights Reserved.