project35.mda.config
Class ServiceConfiguration

java.lang.Object
  extended by project35.mda.config.ServiceConfiguration
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
DocumentValidationServiceConfiguration, FieldValidationServiceConfiguration, IDGeneratorServiceConfiguration, OntologySourceConfiguration, OntologyViewerConfiguration, PluginConfiguration, RecordValidationServiceConfiguration

public class ServiceConfiguration
extends java.lang.Object
implements java.io.Serializable

base class for holding configuration data about a service. A service has three main properties:


Copyright (c) 2008 Kevin Garwood for Project35. The original code was developed by Kevin Garwood for the University of Manchester. Revisions have been made for Project35, a project that is independent of that institution. This code is licensed under the Academic Free License version 3.0. The code attribution for the original code is included here:

Copyright (c) Kevin Garwood and University of Manchester 2007. All rights reserved. Licensed under the Academic Free License version 3.0. For more information on the terms and conditions, please see the file "LICENSE" that is included in this distribution.


Version:
1.0
Author:
Kevin Garwood (kgarwood@users.sourceforge.net)
See Also:
Serialized Form

Constructor Summary
ServiceConfiguration()
           
 
Method Summary
 void addParameter(Parameter parameter)
           
 java.lang.String getClassName()
          Get the value of class name.
 java.lang.String getDescription()
          Get the value of description.
 java.lang.String getFeatureCode()
           
 Parameter[] getParameters()
           
 java.lang.String getServiceName()
           
 boolean isPersistent()
           
 void print()
          this is a utility class used by subclasses to help print out contents of variables.
 void setClassName(java.lang.String idGeneratorServiceClassName)
          Set the value of class name.
 void setDescription(java.lang.String description)
          Set the value of description.
 void setFeatureCode(java.lang.String featureCode)
          Set the value of featureCode.
 void setParameters(java.util.ArrayList parameters)
           
 void setPersistent(boolean isPersistent)
           
 void setServiceName(java.lang.String serviceName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceConfiguration

public ServiceConfiguration()
Method Detail

print

public void print()
this is a utility class used by subclasses to help print out contents of variables.


getServiceName

public java.lang.String getServiceName()

getClassName

public java.lang.String getClassName()
Get the value of class name.

Returns:
value of class name.

getFeatureCode

public java.lang.String getFeatureCode()
Returns:
value of featureCode.

getParameters

public Parameter[] getParameters()

isPersistent

public boolean isPersistent()

getDescription

public java.lang.String getDescription()
Get the value of description.

Returns:
value of description.

setServiceName

public void setServiceName(java.lang.String serviceName)

setClassName

public void setClassName(java.lang.String idGeneratorServiceClassName)
Set the value of class name.

Parameters:
idGeneratorServiceClassName - Value to assign to className.

setFeatureCode

public void setFeatureCode(java.lang.String featureCode)
Set the value of featureCode.

Parameters:
featureCode - Value to assign to featureCode.

addParameter

public void addParameter(Parameter parameter)

setParameters

public void setParameters(java.util.ArrayList parameters)

setPersistent

public void setPersistent(boolean isPersistent)

setDescription

public void setDescription(java.lang.String description)
Set the value of description.

Parameters:
description - Value to assign to description.