Index: src/nongnu/cashews/owls/service/Service.java =================================================================== RCS file: Service.java diff -N Service.java --- /dev/null Mon Mar 28 11:37:15 2005 +++ Service.java Mon Mar 28 12:51:11 2005 @@ -0,0 +1,60 @@ +/* Service.java -- Representation of an OWL-S service. + Copyright (C) 2005 The University of Sheffield. + + This file is part of the CASheW-s editor. + + The CASheW-s editor is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + The CASheW-s editor is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with The CASheW-s editor; see the file COPYING. If not, write to the + Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA + 02111-1307 USA. +*/ + +package nongnu.cashews.owls.service; + +import java.util.List; + +/** + * A Service organises the various parts of an OWL-S web service + * description. A service is made up of profiles, models and groundings, + * and effectively forms a description of the API the service provider + * wants to make available to others. Each service references 0 or more + * profiles, and an optional model. If a model is specified, it must + * be accompanied by one or more groundings. + * + * @author Andrew John Hughes (address@hidden) + */ +public class Service +{ + + /** + * The profiles presented by the service to describe what it does. + * + * @serial the service profiles. + */ + private List profiles; + + /** + * The model, which describes how the service works. + * + * @serial the service model. + */ + private ServiceModel model; + + /** + * The groundings, which support the service and make it usable. + * + * @serial the service groundings. + */ + private List groundings; + +} Index: src/nongnu/cashews/owls/service/ServiceGrounding.java =================================================================== RCS file: ServiceGrounding.java diff -N ServiceGrounding.java --- /dev/null Mon Mar 28 11:37:15 2005 +++ ServiceGrounding.java Mon Mar 28 12:51:11 2005 @@ -0,0 +1,35 @@ +/* ServiceGrounding.java -- Representation of an OWL-S service grounding. + Copyright (C) 2005 The University of Sheffield. + + This file is part of the CASheW-s editor. + + The CASheW-s editor is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + The CASheW-s editor is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with The CASheW-s editor; see the file COPYING. If not, write to the + Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA + 02111-1307 USA. +*/ + +package nongnu.cashews.owls.service; + +/** + * The service grounding tells agents how to use the service. Typically, + * this is via some service protocol, such as SOAP, HTTP FORM-FORM or + * CORBA IDL, and specific details, such as port numbers. + * + * @author Andrew John Hughes (address@hidden) + * @see Service + */ +public class ServiceGrounding +{ + +} Index: src/nongnu/cashews/owls/service/ServiceModel.java =================================================================== RCS file: ServiceModel.java diff -N ServiceModel.java --- /dev/null Mon Mar 28 11:37:15 2005 +++ ServiceModel.java Mon Mar 28 12:51:11 2005 @@ -0,0 +1,50 @@ +/* ServiceModel.java -- Representation of an OWL-S service model. + Copyright (C) 2005 The University of Sheffield. + + This file is part of the CASheW-s editor. + + The CASheW-s editor is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + The CASheW-s editor is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with The CASheW-s editor; see the file COPYING. If not, write to the + Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA + 02111-1307 USA. +*/ + +package nongnu.cashews.owls.service; + +/** + *

+ * The service model describes how the service works. This may + * be used by agents in a variety of ways: + *

+ * + * + * @author Andrew John Hughes (address@hidden) + * @see Service + */ +public class ServiceModel +{ + +} Index: src/nongnu/cashews/owls/service/ServiceProfile.java =================================================================== RCS file: ServiceProfile.java diff -N ServiceProfile.java --- /dev/null Mon Mar 28 11:37:15 2005 +++ ServiceProfile.java Mon Mar 28 12:51:11 2005 @@ -0,0 +1,35 @@ +/* ServiceProfile.java -- Representation of an OWL-S service profile. + Copyright (C) 2005 The University of Sheffield. + + This file is part of the CASheW-s editor. + + The CASheW-s editor is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + The CASheW-s editor is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with The CASheW-s editor; see the file COPYING. If not, write to the + Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA + 02111-1307 USA. +*/ + +package nongnu.cashews.owls.service; + +/** + * The service profile advertises the service and tells agents what it + * does. Using the service profile, an agent can determine whether the + * service is useful or not. + * + * @author Andrew John Hughes (address@hidden) + * @see Service + */ +public class ServiceProfile +{ + +}