Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 06ff9c60 authored by Jérôme Pierson's avatar Jérôme Pierson
Browse files

the jade messageontology folder to the repository

parent 3c28ad34
No related branches found
No related tags found
No related merge requests found
Showing
with 393 additions and 0 deletions
package fr.inrialpes.exmo.align.service.jade.messageontology;
import jade.content.*;
import jade.util.leap.*;
import jade.core.*;
/**
* Protege name: AClient
* @author ontology bean generator
* @version 2007/03/19, 17:12:29
*/
public class AClient extends AID{
}
package fr.inrialpes.exmo.align.service.jade.messageontology;
import jade.content.*;
import jade.util.leap.*;
import jade.core.*;
/**
* Protege name: ALIGN
* @author ontology bean generator
* @version 2007/03/19, 17:12:29
*/
public class ALIGN extends Action implements Predicate{
}
package fr.inrialpes.exmo.align.service.jade.messageontology;
import jade.content.*;
import jade.util.leap.*;
import jade.core.*;
/**
* Protege name: AServer
* @author ontology bean generator
* @version 2007/03/19, 17:12:29
*/
public class AServer extends AID{
}
package fr.inrialpes.exmo.align.service.jade.messageontology;
import jade.content.*;
import jade.util.leap.*;
import jade.core.*;
/**
* Protege name: Action
* @author ontology bean generator
* @version 2007/03/19, 17:12:29
*/
public class Action implements Predicate {
/**
* Protege name: hasParameter
*/
private List hasParameter = new ArrayList();
public void addHasParameter(Parameter elem) {
List oldList = this.hasParameter;
hasParameter.add(elem);
}
public boolean removeHasParameter(Parameter elem) {
List oldList = this.hasParameter;
boolean result = hasParameter.remove(elem);
return result;
}
public void clearAllHasParameter() {
List oldList = this.hasParameter;
hasParameter.clear();
}
public Iterator getAllHasParameter() {return hasParameter.iterator(); }
public List getHasParameter() {return hasParameter; }
public void setHasParameter(List l) {hasParameter = l; }
}
package fr.inrialpes.exmo.align.service.jade.messageontology;
import jade.content.*;
import jade.util.leap.*;
import jade.core.*;
/**
* Protege name: CUT
* @author ontology bean generator
* @version 2007/03/19, 17:12:29
*/
public class CUT extends Action implements Predicate {
}
package fr.inrialpes.exmo.align.service.jade.messageontology;
import jade.content.*;
import jade.util.leap.*;
import jade.core.*;
/**
* Protege name: FIND
* @author ontology bean generator
* @version 2007/03/19, 17:12:29
*/
public class FIND extends Action implements Predicate {
}
<?xml version="1.0"?>
<rdf:RDF
xmlns:j.0="http://jade.cselt.it/beangenerator#"
xmlns="http://www.inrialpes.fr/exmo/align/service/jade/FIPAJADEOntology.owl#"
xmlns:protege="http://protege.stanford.edu/plugins/owl/protege#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xml:base="http://www.inrialpes.fr/exmo/align/service/jade/FIPAJADEOntology.owl">
<owl:Ontology rdf:about="">
<owl:imports rdf:resource="http://jade.cselt.it/beangenerator"/>
</owl:Ontology>
<owl:ObjectProperty rdf:ID="hasParameter">
<rdfs:domain>
<j.0:JADE-CLASS rdf:ID="Action">
<rdfs:subClassOf rdf:resource="http://jade.cselt.it/beangenerator#Predicate"/>
</j.0:JADE-CLASS>
</rdfs:domain>
<rdfs:range>
<j.0:JADE-CLASS rdf:ID="Parameter">
<rdfs:subClassOf rdf:resource="http://jade.cselt.it/beangenerator#Concept"/>
</j.0:JADE-CLASS>
</rdfs:range>
</owl:ObjectProperty>
<owl:FunctionalProperty rdf:ID="name">
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
<rdfs:domain rdf:resource="#Parameter"/>
</owl:FunctionalProperty>
<owl:FunctionalProperty rdf:ID="value">
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
<rdfs:domain rdf:resource="#Parameter"/>
</owl:FunctionalProperty>
<j.0:JADE-CLASS rdf:ID="FIND">
<rdfs:subClassOf rdf:resource="#Action"/>
</j.0:JADE-CLASS>
<j.0:JADE-CLASS rdf:ID="AClient">
<rdfs:subClassOf rdf:resource="http://jade.cselt.it/beangenerator#AID"/>
</j.0:JADE-CLASS>
<j.0:JADE-CLASS rdf:ID="CUT">
<rdfs:subClassOf rdf:resource="#Action"/>
</j.0:JADE-CLASS>
<j.0:JADE-CLASS rdf:ID="STORE">
<rdfs:subClassOf rdf:resource="#Action"/>
</j.0:JADE-CLASS>
<j.0:JADE-CLASS rdf:ID="TRANSLATE">
<rdfs:subClassOf rdf:resource="#Action"/>
</j.0:JADE-CLASS>
<j.0:JADE-CLASS rdf:ID="ALIGN">
<rdfs:subClassOf rdf:resource="#Action"/>
</j.0:JADE-CLASS>
<j.0:JADE-CLASS rdf:ID="METADATA">
<rdfs:subClassOf rdf:resource="#Action"/>
</j.0:JADE-CLASS>
<j.0:JADE-CLASS rdf:ID="RETRIEVE">
<rdfs:subClassOf rdf:resource="#Action"/>
</j.0:JADE-CLASS>
<j.0:JADE-CLASS rdf:ID="AServer">
<rdfs:subClassOf rdf:resource="http://jade.cselt.it/beangenerator#AID"/>
</j.0:JADE-CLASS>
<j.0:JADE-CLASS rdf:ID="LOAD">
<rdfs:subClassOf rdf:resource="#Action"/>
</j.0:JADE-CLASS>
</rdf:RDF>
<!-- Created with Protege (with OWL Plugin 3.2.1, Build 365) http://protege.stanford.edu -->
// file: JADEFIPAAlignmentServerOntologyOntology.java generated by ontology bean generator. DO NOT EDIT, UNLESS YOU ARE REALLY SURE WHAT YOU ARE DOING!
package fr.inrialpes.exmo.align.service.jade.messageontology;
import jade.content.onto.*;
import jade.content.schema.*;
import jade.util.leap.HashMap;
import jade.content.lang.Codec;
import jade.core.CaseInsensitiveString;
/** file: JADEFIPAAlignmentServerOntologyOntology.java
* @author ontology bean generator
* @version 2007/03/19, 17:12:29
*/
public class JADEFIPAAlignmentServerOntology extends jade.content.onto.Ontology {
//NAME
public static final String ONTOLOGY_NAME = "JADEFIPAAlignmentServerOntology";
// The singleton instance of this ontology
private static ReflectiveIntrospector introspect = new ReflectiveIntrospector();
private static Ontology theInstance = new JADEFIPAAlignmentServerOntology();
public static Ontology getInstance() {
return theInstance;
}
// VOCABULARY
public static final String METADATA="METADATA";
public static final String FIND="FIND";
public static final String TRANSLATE="TRANSLATE";
public static final String ACTION_HASPARAMETER="hasParameter";
public static final String ACTION="Action";
public static final String CUT="CUT";
public static final String LOAD="LOAD";
public static final String RETRIEVE="RETRIEVE";
public static final String ALIGN="ALIGN";
public static final String STORE="STORE";
public static final String ACLIENT="AClient";
public static final String ASERVER="AServer";
public static final String _NAME="name";
public static final String _VALUE="value";
public static final String parameter="parameter";
/**
* Constructor
*/
private JADEFIPAAlignmentServerOntology(){
super(ONTOLOGY_NAME, BasicOntology.getInstance());
try {
// adding Concept(s)
ConceptSchema Schema = new ConceptSchema(parameter);
add(Schema, fr.inrialpes.exmo.align.service.jade.messageontology.Parameter.class);
// adding AgentAction(s)
// adding AID(s)
ConceptSchema aServerSchema = new ConceptSchema(ASERVER);
add(aServerSchema, fr.inrialpes.exmo.align.service.jade.messageontology.AServer.class);
ConceptSchema aClientSchema = new ConceptSchema(ACLIENT);
add(aClientSchema, fr.inrialpes.exmo.align.service.jade.messageontology.AClient.class);
// adding Predicate(s)
PredicateSchema storeSchema = new PredicateSchema(STORE);
add(storeSchema, fr.inrialpes.exmo.align.service.jade.messageontology.STORE.class);
PredicateSchema alignSchema = new PredicateSchema(ALIGN);
add(alignSchema, fr.inrialpes.exmo.align.service.jade.messageontology.ALIGN.class);
PredicateSchema retrieveSchema = new PredicateSchema(RETRIEVE);
add(retrieveSchema, fr.inrialpes.exmo.align.service.jade.messageontology.RETRIEVE.class);
PredicateSchema loadSchema = new PredicateSchema(LOAD);
add(loadSchema, fr.inrialpes.exmo.align.service.jade.messageontology.LOAD.class);
PredicateSchema cutSchema = new PredicateSchema(CUT);
add(cutSchema, fr.inrialpes.exmo.align.service.jade.messageontology.CUT.class);
PredicateSchema actionSchema = new PredicateSchema(ACTION);
add(actionSchema, fr.inrialpes.exmo.align.service.jade.messageontology.Action.class);
PredicateSchema translateSchema = new PredicateSchema(TRANSLATE);
add(translateSchema, fr.inrialpes.exmo.align.service.jade.messageontology.TRANSLATE.class);
PredicateSchema findSchema = new PredicateSchema(FIND);
add(findSchema, fr.inrialpes.exmo.align.service.jade.messageontology.FIND.class);
PredicateSchema metadataSchema = new PredicateSchema(METADATA);
add(metadataSchema, fr.inrialpes.exmo.align.service.jade.messageontology.METADATA.class);
// adding fields
Schema.add(_VALUE, (TermSchema)getSchema(BasicOntology.STRING), ObjectSchema.OPTIONAL);
Schema.add(_NAME, (TermSchema)getSchema(BasicOntology.STRING), ObjectSchema.OPTIONAL);
actionSchema.add(ACTION_HASPARAMETER, Schema, 0, ObjectSchema.UNLIMITED);
// adding name mappings
// adding inheritance
storeSchema.addSuperSchema(actionSchema);
cutSchema.addSuperSchema(actionSchema);
findSchema.addSuperSchema(actionSchema);
loadSchema.addSuperSchema(actionSchema);
alignSchema.addSuperSchema(actionSchema);
retrieveSchema.addSuperSchema(actionSchema);
metadataSchema.addSuperSchema(actionSchema);
translateSchema.addSuperSchema(actionSchema);
}catch (java.lang.Exception e) {e.printStackTrace();}
}
}
package fr.inrialpes.exmo.align.service.jade.messageontology;
import jade.content.*;
import jade.util.leap.*;
import jade.core.*;
/**
* Protege name: LOAD
* @author ontology bean generator
* @version 2007/03/19, 17:12:29
*/
public class LOAD extends Action implements Predicate {
}
package fr.inrialpes.exmo.align.service.jade.messageontology;
import jade.content.*;
import jade.util.leap.*;
import jade.core.*;
/**
* Protege name: METADATA
* @author ontology bean generator
* @version 2007/03/19, 17:12:29
*/
public class METADATA extends Action implements Predicate {
}
package fr.inrialpes.exmo.align.service.jade.messageontology;
import jade.content.*;
import jade.util.leap.*;
import jade.core.*;
/**
* Protege name: Paramameter
* @author ontology bean generator
* @version 2007/03/19, 17:12:29
*/
public class Parameter implements Concept {
/**
* Protege name: value
*/
private String value;
public void setValue(String value) {
this.value=value;
}
public String getValue() {
return this.value;
}
/**
* Protege name: name
*/
private String name;
public void setName(String value) {
this.name=value;
}
public String getName() {
return this.name;
}
}
package fr.inrialpes.exmo.align.service.jade.messageontology;
import jade.content.*;
import jade.util.leap.*;
import jade.core.*;
/**
* Protege name: RETRIEVE
* @author ontology bean generator
* @version 2007/03/19, 17:12:29
*/
public class RETRIEVE extends Action implements Predicate {
}
package fr.inrialpes.exmo.align.service.jade.messageontology;
import jade.content.*;
import jade.util.leap.*;
import jade.core.*;
/**
* Protege name: STORE
* @author ontology bean generator
* @version 2007/03/19, 17:12:29
*/
public class STORE extends Action implements Predicate{
}
package fr.inrialpes.exmo.align.service.jade.messageontology;
import jade.content.*;
import jade.util.leap.*;
import jade.core.*;
/**
* Protege name: TRANSLATE
* @author ontology bean generator
* @version 2007/03/19, 17:12:29
*/
public class TRANSLATE extends Action implements Predicate {
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment