soa.sca.samples.candystore
Class Record

java.lang.Object
  extended by soa.sca.samples.candystore.Record

public class Record
extends java.lang.Object

Java class for record complex type.

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

 <complexType name="record">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="data" type="{http://candystore.samples.sca.soa/}product" minOccurs="0"/>
         <element name="key" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  Product data
           
protected  java.lang.String key
           
 
Constructor Summary
Record()
           
 
Method Summary
 Product getData()
          Gets the value of the data property.
 java.lang.String getKey()
          Gets the value of the key property.
 void setData(Product value)
          Sets the value of the data property.
 void setKey(java.lang.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

data

protected Product data

key

protected java.lang.String key
Constructor Detail

Record

public Record()
Method Detail

getData

public Product getData()
Gets the value of the data property.

Returns:
possible object is Product

setData

public void setData(Product value)
Sets the value of the data property.

Parameters:
value - allowed object is Product

getKey

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

Returns:
possible object is String

setKey

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

Parameters:
value - allowed object is String