tabular-data-service/.metadata/.plugins/org.eclipse.core.resources/.history/18/80d3c753b6b000161617cfae0a6...

65 lines
1.9 KiB
Plaintext
Executable File

/*
* ARISTOTLE UNIVERSITY OF THESSALONIKI
* Copyright (C) 2015
* Aristotle University of Thessaloniki
* Department of Electrical & Computer Engineering
* Division of Electronics & Computer Engineering
* Intelligent Systems & Software Engineering Lab
*
* Project : eticsbte
* WorkFile :
* Compiler :
* File Description :
* Document Description:
* Related Documents :
* Note :
* Programmer : RESTful MDE Engine created by Christoforos Zolotas
* Contact : christopherzolotas@issel.ee.auth.gr
*/
package eu.fp7.scase.eticsbte.optimize;
import java.util.ArrayList;
import java.util.List;
import javax.persistence.Transient;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.HashSet;
import java.util.Set;
import org.codehaus.jackson.annotate.JsonIgnoreProperties;
import eu.fp7.scase.eticsbte.utilities.HypermediaLink;
/*
* JavaOptimizeOutputModel class is responsible to model the output data model of the optimize resource. This models the data
* that will be received as output from the third party service.
*/
@XmlRootElement
@JsonIgnoreProperties(ignoreUnknown = true)
public class JavaOptimizeOutputModel{
/* There follows a list with the properties that model the optimize resource, as prescribed in the External service layer CIM*/
private Boolean completed;
// The Linklist property holds all the hypermedia links to be sent back to the client
@Transient
private List<HypermediaLink> linklist = new ArrayList<HypermediaLink>();
/* There follows a list of setter and getter functions.*/
public void setCompleted(Boolean completed){
this.completed = completed;
}
public void setlinklist(List<HypermediaLink> linklist){
this.linklist = linklist;
}
public Boolean getCompleted(){
return this.completed;
}
public List<HypermediaLink> getlinklist(){
return this.linklist;
}
}