This project has retired. For details please refer to its Attic page.
XProperties (Lens 2.0.1-beta-incubating API)

org.apache.lens.api.metastore
Class XProperties

java.lang.Object
  extended by org.apache.lens.api.metastore.XProperties

public class XProperties
extends Object

A list of property elements.

Java class for x_properties complex type.

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

 <complexType name="x_properties">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="property" type="{uri:lens:cube:0.1}x_property" maxOccurs="unbounded"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Constructor Summary
XProperties()
           
 
Method Summary
 List<XProperty> getProperty()
          Gets the value of the property property.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XProperties

public XProperties()
Method Detail

getProperty

public List<XProperty> 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 XProperty



Copyright © 2014–2015 Apache Software Foundation. All rights reserved.