org.apache.lens.api.metastore
Class XProperty

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

public class XProperty
extends Object

A key-value pair for storing property's name and its value.

Java class for x_property complex type.

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

 <complexType name="x_property">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 


Constructor Summary
XProperty()
           
 
Method Summary
 String getName()
          Gets the value of the name property.
 String getValue()
          Gets the value of the value property.
 void setName(String value)
          Sets the value of the name property.
 void setValue(String value)
          Sets the value of the value property.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XProperty

public XProperty()
Method Detail

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

getValue

public String getValue()
Gets the value of the value property.

Returns:
possible object is String

setValue

public void setValue(String value)
Sets the value of the value property.

Parameters:
value - allowed object is String


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