/**
 * Copyright 2014 Telefonica Investigación y Desarrollo, S.A.U <br>
 * This file is part of FI-WARE project.
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
 * the License.
 * </p>
 * <p>
 * You may obtain a copy of the License at:<br>
 * <br>
 * http://www.apache.org/licenses/LICENSE-2.0
 * </p>
 * <p>
 * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
 * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * </p>
 * <p>
 * See the License for the specific language governing permissions and limitations under the License.
 * </p>
 * <p>
 * For those usages not covered by the Apache version 2.0 License please contact with opensource@tid.es
 * </p>
 */

package com.telefonica.euro_iaas.sdc.model.dto;

import javax.xml.bind.annotation.XmlRootElement;

import com.telefonica.euro_iaas.sdc.model.Product;

@XmlRootElement
public class ProductAndReleaseDto {

    private Product product;
    private String version;
    
    
    public Product getProduct() {
        return product;
    }
    public void setProduct(Product product) {
        this.product = product;
    }
    public String getVersion() {
        return version;
    }
    public void setVersion(String version) {
        this.version = version;
    }
    @Override
    public String toString() {
        return "ProductAndReleases [product=" + product + ", version=" + version + "]";
    }
    
    

}

@@ -997,127 +997,335 @@
 t;%0A%0A
-@XmlRootElement%0Apublic class ProductAndReleaseDto %7B%0A%0A    private Product product;%0A    private String version;%0A    %0A    
+/**%0A * Represents a product and its version%0A * @author alberts%0A *%0A */%0A@XmlRootElement%0Apublic class ProductAndReleaseDto %7B%0A%0A    %0A    /**%0A     * product object%0A     */%0A    private Product product;%0A    %0A    /**%0A     * version of the product %0A     */%0A    private String version;%0A    %0A    %0A    /**%0A     * @return the product%0A     */
 %0A   
@@ -1377,32 +1377,70 @@
  product;%0A    %7D%0A
+    /**%0A     * @param product%0A     */%0A
     public void 
@@ -1499,32 +1499,71 @@
  product;%0A    %7D%0A
+    /**%0A     * @return version%0A     */%0A
     public Strin
@@ -1605,24 +1605,62 @@
 sion;%0A    %7D%0A
+    /**%0A     * @param version%0A     */%0A
     public v
@@ -1726,24 +1726,98 @@
 sion;%0A    %7D%0A
+    %0A    /* (non-Javadoc)%0A     * @see java.lang.Object#toString()%0A     */%0A
     @Overrid

add comments