Commit d8e377c2 authored by Kyriakos Kritikos's avatar Kyriakos Kritikos

Updates due to CAMEL modification + polishing + licencing

parent 2e7f7695
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry including="**/*.java" kind="src" output="target/classes" path="src">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="target/classes"/>
</classpath>
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>PAASAGE_KB_CLIENT</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
org.eclipse.jdt.core.compiler.compliance=1.5
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
org.eclipse.jdt.core.compiler.source=1.5
activeProfiles=
eclipse.preferences.version=1
resolveWorkspaceProjects=true
version=1
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
/* Copyright (C) 2015 KYRIAKOS KRITIKOS <kritikos@ics.forth.gr> */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/
*/
global org.eclipse.emf.cdo.view.CDOView view;
global Double threshold;
......
/* Copyright (C) 2015 KYRIAKOS KRITIKOS <kritikos@ics.forth.gr> */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/
*/
import eu.paasage.mddb.kb.domain.ComponentMatch;
import eu.paasage.mddb.kb.domain.ApplicationMatch;
......
......@@ -45,7 +45,7 @@
</execution>
</executions>
<configuration>
<mainClass>eu.paasage.mddb.kb.client.StandaloneClient</mainClass>
<mainClass>eu.paasage.mddb.kb.client.RestClient</mainClass>
</configuration>
</plugin>
<plugin>
......@@ -55,7 +55,7 @@
<configuration>
<archive>
<manifest>
<mainClass>eu.paasage.mddb.kb.client.StandaloneClient</mainClass>
<mainClass>eu.paasage.mddb.kb.client.RestClient</mainClass>
</manifest>
</archive>
<descriptorRefs>
......@@ -153,17 +153,32 @@
<version>${drools.version}</version>
</dependency>
<dependency>
<groupId>eu.paasage</groupId>
<groupId>org.ow2.paasage</groupId>
<artifactId>camel</artifactId>
<version>2.0.0-SNAPSHOT</version>
<version>2015.9.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>eu.paasage.mddb.cdo</groupId>
<groupId>org.ow2.paasage.mddb.cdo</groupId>
<artifactId>client</artifactId>
<version>2.0.0-SNAPSHOT</version>
</dependency>
</dependencies>
<repositories>
<repository>
<id>ow2.releases</id>
<name>OW2 repository</name>
<url>http://repository.ow2.org/nexus/content/repositories/releases/</url>
</repository>
<repository>
<id>ow2.snapshots</id>
<name>OW2 repository</name>
<url>http://repository.ow2.org/nexus/content/repositories/snapshots/</url>
</repository>
<repository>
<id>paasage.repo</id>
<name>PaaSage repository</name>
<url>http://jenkins.paasage.cetic.be/repository/</url>
</repository>
<repository>
<id>jboss-public-repository-group</id>
<name>JBoss Public Repository Group</name>
......@@ -189,7 +204,6 @@
<name>AppFuse Releases</name>
<url>https://oss.sonatype.org/content/repositories/appfuse-releases</url>
</repository>
</repositories>
</project>
/* Copyright (C) 2015 KYRIAKOS KRITIKOS <kritikos@ics.forth.gr> */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/
*/
package eu.paasage.mddb.kb.client;
import java.io.BufferedInputStream;
import java.io.BufferedReader;
import java.io.ByteArrayInputStream;
......
/* Copyright (C) 2015 KYRIAKOS KRITIKOS <kritikos@ics.forth.gr> */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/
*/
package eu.paasage.mddb.kb.client;
import java.io.File;
......@@ -5,9 +12,7 @@ import java.util.ArrayList;
import java.util.Collection;
import java.util.Hashtable;
import java.util.Iterator;
import java.util.List;
import org.eclipse.emf.cdo.common.id.CDOID;
import org.eclipse.emf.cdo.view.CDOView;
import org.kie.api.KieBaseConfiguration;
import org.kie.api.io.Resource;
......@@ -268,7 +273,12 @@ public class StandaloneClient {
public static void main(String[] args){
//Create scenario for the firing of rules and the issuing of queries
//ScenarioCreator.loadScenario();
try{
ScenarioCreator.loadScenario(true);
}
catch(Exception e){
e.printStackTrace();
}
//Name of session and kb to construct
String sessionName = "mySession";
String kbName = "myKB";
......
/* Copyright (C) 2015 KYRIAKOS KRITIKOS <kritikos@ics.forth.gr> */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/
*/
package eu.paasage.mddb.kb.domain;
import java.util.Set;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;
import org.eclipse.emf.cdo.common.id.CDOID;
import org.eclipse.emf.cdo.internal.common.id.CDOIDObjectLongWithClassifierImpl;
import org.eclipse.emf.cdo.spi.common.id.AbstractCDOID;
@XmlRootElement
public class ApplicationMatch implements java.io.Serializable{
private static final long serialVersionUID = 8394482408256109607L;
private CDOID firstApplicationID;
private CDOID secondApplicationID;
private ApplicationMatching applicationMatching;
......
/* Copyright (C) 2015 KYRIAKOS KRITIKOS <kritikos@ics.forth.gr> */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/
*/
package eu.paasage.mddb.kb.domain;
import java.util.List;
import java.util.Set;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlTransient;
import eu.paasage.camel.Application;
import eu.paasage.camel.impl.ApplicationImpl;
......@@ -17,6 +20,7 @@ import eu.paasage.camel.metric.Metric;
@XmlRootElement
public class BestAppDepRequirement implements java.io.Serializable{
private static final long serialVersionUID = -5414769728431413674L;
//@XmlTransient
private static int idGen = 1;
private int id;
......
/* Copyright (C) 2015 KYRIAKOS KRITIKOS <kritikos@ics.forth.gr> */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/
*/
package eu.paasage.mddb.kb.domain;
import java.util.Set;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyAttribute;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlTransient;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.eclipse.emf.cdo.common.id.CDOID;
import org.eclipse.emf.cdo.internal.common.id.CDOIDObjectLongWithClassifierImpl;
import org.eclipse.emf.cdo.spi.common.id.AbstractCDOID;
import eu.paasage.camel.Application;
import eu.paasage.camel.deployment.DeploymentModel;
import eu.paasage.camel.metric.Metric;
@XmlRootElement
public class BestApplicationDeployment implements java.io.Serializable{
private static final long serialVersionUID = 158832831419983013L;
//@XmlTransient
private static int idGen = 1;
private int id;
......
/* Copyright (C) 2015 KYRIAKOS KRITIKOS <kritikos@ics.forth.gr> */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/
*/
package eu.paasage.mddb.kb.domain;
import java.util.Set;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyAttribute;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.eclipse.emf.cdo.common.id.CDOID;
import org.eclipse.emf.cdo.internal.common.id.CDOIDObjectLongWithClassifierImpl;
import org.eclipse.emf.cdo.spi.common.id.AbstractCDOID;
import eu.paasage.camel.deployment.Component;
import eu.paasage.camel.deployment.InternalComponent;
import eu.paasage.camel.requirement.ServiceLevelObjective;
@XmlRootElement
public class BestComponentDeployment implements java.io.Serializable{
private static final long serialVersionUID = 4559968178891710364L;
//@XmlTransient
private static int idGen = 1;
private int id;
......
/* Copyright (C) 2015 KYRIAKOS KRITIKOS <kritikos@ics.forth.gr> */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/
*/
package eu.paasage.mddb.kb.domain;
import javax.xml.bind.annotation.adapters.XmlAdapter;
......
/* Copyright (C) 2015 KYRIAKOS KRITIKOS <kritikos@ics.forth.gr> */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/
*/
package eu.paasage.mddb.kb.domain;
import java.util.Collection;
......@@ -5,18 +12,14 @@ import java.util.HashSet;
import java.util.Iterator;
import java.util.Set;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import org.eclipse.emf.cdo.common.id.CDOID;
@XmlRootElement
public class CDOIDSet implements Set<CDOID>, java.io.Serializable{
private static final long serialVersionUID = -1287003279702793711L;
private Set<CDOID> set = new HashSet<CDOID>();
public CDOIDSet(){
......
/* Copyright (C) 2015 KYRIAKOS KRITIKOS <kritikos@ics.forth.gr> */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/
*/
package eu.paasage.mddb.kb.domain;
import java.util.List;
......@@ -16,7 +23,7 @@ public final class CDOUtils {
ServiceLevelObjective slo1 = (ServiceLevelObjective)view.getObject(id1);
ServiceLevelObjective slo2 = (ServiceLevelObjective)view.getObject(id2);
Metric m1 = ((MetricCondition)slo1.getCustomServiceLevel()).getMetricContext().getMetric();
Metric m2 = ((MetricCondition)slo1.getCustomServiceLevel()).getMetricContext().getMetric();
Metric m2 = ((MetricCondition)slo2.getCustomServiceLevel()).getMetricContext().getMetric();
return m1.equals(m2);
}
......
/* Copyright (C) 2015 KYRIAKOS KRITIKOS <kritikos@ics.forth.gr> */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/
*/
package eu.paasage.mddb.kb.domain;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import org.eclipse.emf.cdo.common.id.CDOID;
import org.eclipse.emf.cdo.spi.common.id.AbstractCDOID;
import eu.paasage.camel.deployment.InternalComponent;
@XmlRootElement
public class ComponentMatch implements java.io.Serializable{
private static final long serialVersionUID = 3828557746660285259L;
private CDOID firstInternalComponentID;
private CDOID secondInternalComponentID;
private long id;
......
/* Copyright (C) 2015 KYRIAKOS KRITIKOS <kritikos@ics.forth.gr> */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/
*/
package eu.paasage.mddb.kb.domain;
import java.util.List;
import java.util.Set;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlTransient;
import eu.paasage.camel.Application;
import eu.paasage.camel.impl.ApplicationImpl;
......@@ -17,6 +20,8 @@ import eu.paasage.camel.metric.Metric;
@XmlRootElement
public class CurrentBestAppDep implements java.io.Serializable{
private static final long serialVersionUID = 3905168554525941766L;
//@XmlTransient
private static int idGen = 1;
private int id;
......
package eu.paasage.mddb.kb.domain;
/* Copyright (C) 2015 KYRIAKOS KRITIKOS <kritikos@ics.forth.gr> */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/
*/
import java.util.Set;
package eu.paasage.mddb.kb.domain;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlTransient;
import eu.paasage.camel.deployment.Component;
import eu.paasage.camel.deployment.InternalComponent;
......@@ -17,6 +19,8 @@ import eu.paasage.camel.metric.Metric;
@XmlRootElement
public class CurrentBestCompDep implements java.io.Serializable{
private static final long serialVersionUID = -3764012901866621506L;
//@XmlTransient
private static int idGen = 1;
private int id;
......
package eu.paasage.mddb.kb.domain;
/* Copyright (C) 2015 KYRIAKOS KRITIKOS <kritikos@ics.forth.gr> */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/
*/
import java.util.List;
import java.util.Set;
package eu.paasage.mddb.kb.domain;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlTransient;
import eu.paasage.camel.Application;
import eu.paasage.camel.deployment.impl.InternalComponentImpl;
import eu.paasage.camel.impl.ApplicationImpl;
import eu.paasage.camel.metric.Metric;
@XmlRootElement
public class CurrentBestMetricValue implements java.io.Serializable{
private static final long serialVersionUID = -6040848806094556866L;
//@XmlTransient
private static int idGen = 1;
private int id;
......
package eu.paasage.mddb.kb.domain;
/* Copyright (C) 2015 KYRIAKOS KRITIKOS <kritikos@ics.forth.gr> */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/
*/
import java.util.List;
import java.util.Set;
package eu.paasage.mddb.kb.domain;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlTransient;
import eu.paasage.camel.Application;
import eu.paasage.camel.deployment.impl.InternalComponentImpl;
import eu.paasage.camel.impl.ApplicationImpl;
import eu.paasage.camel.metric.Metric;
@XmlRootElement
public class CurrentWorstMetricValue implements java.io.Serializable{
private static final long serialVersionUID = -9107624562120546029L;
//@XmlTransient
private static int idGen = 1;
private int id;
......
/* Copyright (C) 2015 KYRIAKOS KRITIKOS <kritikos@ics.forth.gr> */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/
*/
package eu.paasage.mddb.kb.domain;
import javax.xml.bind.annotation.XmlRootElement;
......
/* Copyright (C) 2015 KYRIAKOS KRITIKOS <kritikos@ics.forth.gr> */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/
*/
package eu.paasage.mddb.kb.domain;
import javax.xml.bind.annotation.adapters.XmlAdapter;
......
/* Copyright (C) 2015 KYRIAKOS KRITIKOS <kritikos@ics.forth.gr> */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/
*/
package eu.paasage.mddb.kb.domain;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
......@@ -10,11 +16,10 @@ import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.namespace.QName;
import eu.paasage.camel.deployment.Component;
@XmlSeeAlso({ComponentMatch.class,ApplicationMatch.class,BestComponentDeployment.class,BestApplicationDeployment.class,SuccessfulApplicationDeployment.class,SuccessfulComponentDeployment.class,MySet.class})
@XmlRootElement
public class KBContent implements java.io.Serializable{
private static final long serialVersionUID = 8052618392095145784L;
List elements = null;
Map<QName, Object> attributes = null;
......
/* Copyright (C) 2015 KYRIAKOS KRITIKOS <kritikos@ics.forth.gr> */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/
*/
package eu.paasage.mddb.kb.domain;
import javax.xml.bind.annotation.XmlAttribute;
......
/* Copyright (C) 2015 KYRIAKOS KRITIKOS <kritikos@ics.forth.gr> */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/
*/
package eu.paasage.mddb.kb.domain;
import java.util.ArrayList;
import java.util.Hashtable;
import java.util.List;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSeeAlso;
@XmlRootElement
public class MyQueryResults implements java.io.Serializable{
private static final long serialVersionUID = 2574838798727860642L;
private List<MyResultRow> results = null;
private List<String> identifiers = null;
......
/* Copyright (C) 2015 KYRIAKOS KRITIKOS <kritikos@ics.forth.gr> */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/
*/
package eu.paasage.mddb.kb.domain;
import javax.xml.bind.annotation.XmlAttribute;
......
/* Copyright (C) 2015 KYRIAKOS KRITIKOS <kritikos@ics.forth.gr> */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/
*/
package eu.paasage.mddb.kb.domain;
import java.util.Hashtable;
import javax.xml.bind.annotation.XmlAnyAttribute;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSeeAlso;
@XmlSeeAlso({ComponentMatch.class,ApplicationMatch.class,BestComponentDeployment.class,BestApplicationDeployment.class,MySet.class})
@XmlRootElement
public class MyResultRow implements java.io.Serializable{
private static final long serialVersionUID = 1812674935297127176L;
private Hashtable<String,MyResultColumn> row;
public MyResultRow(){
......
/* Copyright (C) 2015 KYRIAKOS KRITIKOS <kritikos@ics.forth.gr> */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/
*/
package eu.paasage.mddb.kb.domain;
import java.util.Collection;
......@@ -5,17 +12,14 @@ import java.util.HashSet;
import java.util.Iterator;
import java.util.Set;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
//@XmlRootElement
@XmlType(propOrder = { "set" })
public class MySet<E> implements Set<E>, java.io.Serializable{
private static final long serialVersionUID = -6064484142213590928L;
private Set<E> set = new HashSet<E>();
public MySet(){
......
/* Copyright (C) 2015 KYRIAKOS KRITIKOS <kritikos@ics.forth.gr> */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/
*/
package eu.paasage.mddb.kb.domain;