cometa.translator.product
Class Product

java.lang.Object
  extended by cometa.translator.product.Product

public class Product
extends java.lang.Object

Java class for anonymous complex type.

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

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="dataFeatures">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <choice>
                   <element name="dataParam" maxOccurs="unbounded">
                     <complexType>
                       <complexContent>
                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                           <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
                           <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" />
                         </restriction>
                       </complexContent>
                     </complexType>
                   </element>
                 </choice>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="lineage" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="product" maxOccurs="unbounded" minOccurs="0">
                     <complexType>
                       <complexContent>
                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                           <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
                         </restriction>
                       </complexContent>
                     </complexType>
                   </element>
                   <element name="method">
                     <complexType>
                       <complexContent>
                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                           <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
                         </restriction>
                       </complexContent>
                     </complexType>
                   </element>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="additionalInformation" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <choice>
                   <element name="addInfoParam" maxOccurs="unbounded" minOccurs="0">
                     <complexType>
                       <complexContent>
                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                           <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
                           <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" />
                         </restriction>
                       </complexContent>
                     </complexType>
                   </element>
                 </choice>
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
       <attribute name="productID" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.5-b02-fcs See http://java.sun.com/xml/jaxb Any modifications to this file will be lost upon recompilation of the source schema. Generated on: 2007.11.19 at 12:41:25 PM MET


Nested Class Summary
static class Product.AdditionalInformation
          Java class for anonymous complex type.
static class Product.DataFeatures
          Java class for anonymous complex type.
static class Product.Lineage
          Java class for anonymous complex type.
 
Field Summary
protected  Product.AdditionalInformation additionalInformation
           
protected  Product.DataFeatures dataFeatures
           
protected  Product.Lineage lineage
           
protected  java.lang.String productID
           
 
Constructor Summary
Product()
           
 
Method Summary
 Product.AdditionalInformation getAdditionalInformation()
          Gets the value of the additionalInformation property.
 Product.DataFeatures getDataFeatures()
          Gets the value of the dataFeatures property.
 Product.DataFeatures.DataParam getDataParam(java.lang.String paramName)
          This method returns the DataParam object corresponding to the parameter name given as input.
 java.lang.String getDataParamValue(java.lang.String paramName)
          This method returns the DataParam value - in from of a String - corresponding to the parameter name given as input.
 Product.Lineage getLineage()
          Gets the value of the lineage property.
 java.lang.String getProductID()
          Gets the value of the productID property.
 void setAdditionalInformation(Product.AdditionalInformation value)
          Sets the value of the additionalInformation property.
 void setDataFeatures(Product.DataFeatures value)
          Sets the value of the dataFeatures property.
 void setLineage(Product.Lineage value)
          Sets the value of the lineage property.
 void setProductID(java.lang.String value)
          Sets the value of the productID property.
 java.lang.String toString()
          A product string representation is simply its ID.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

dataFeatures

protected Product.DataFeatures dataFeatures

lineage

protected Product.Lineage lineage

additionalInformation

protected Product.AdditionalInformation additionalInformation

productID

protected java.lang.String productID
Constructor Detail

Product

public Product()
Method Detail

toString

public java.lang.String toString()
A product string representation is simply its ID.

Overrides:
toString in class java.lang.Object

getDataParam

public Product.DataFeatures.DataParam getDataParam(java.lang.String paramName)
This method returns the DataParam object corresponding to the parameter name given as input. It returns null if such a parameter is not defined in the product's metadata.


getDataParamValue

public java.lang.String getDataParamValue(java.lang.String paramName)
This method returns the DataParam value - in from of a String - corresponding to the parameter name given as input. It returns null if such a parameter is not defined in the product's metadata.


getDataFeatures

public Product.DataFeatures getDataFeatures()
Gets the value of the dataFeatures property.

Returns:
possible object is Product.DataFeatures

setDataFeatures

public void setDataFeatures(Product.DataFeatures value)
Sets the value of the dataFeatures property.

Parameters:
value - allowed object is Product.DataFeatures

getLineage

public Product.Lineage getLineage()
Gets the value of the lineage property.

Returns:
possible object is Product.Lineage

setLineage

public void setLineage(Product.Lineage value)
Sets the value of the lineage property.

Parameters:
value - allowed object is Product.Lineage

getAdditionalInformation

public Product.AdditionalInformation getAdditionalInformation()
Gets the value of the additionalInformation property.

Returns:
possible object is Product.AdditionalInformation

setAdditionalInformation

public void setAdditionalInformation(Product.AdditionalInformation value)
Sets the value of the additionalInformation property.

Parameters:
value - allowed object is Product.AdditionalInformation

getProductID

public java.lang.String getProductID()
Gets the value of the productID property.

Returns:
possible object is String

setProductID

public void setProductID(java.lang.String value)
Sets the value of the productID property.

Parameters:
value - allowed object is String