project35.configurationTool
Class OntologyIdentifierCreationPlugin

java.lang.Object
  extended by project35.soa.plugins.AbstractProject35Plugin
      extended by project35.configurationTool.OntologyIdentifierCreationPlugin
All Implemented Interfaces:
java.io.Serializable, Project35Plugin, ServiceClass

public class OntologyIdentifierCreationPlugin
extends AbstractProject35Plugin

This plugin is for use with the project35_configuration_tool model It finds the root of a document that describes the configuration options for a given target schema. It prompts the user to specify some prefixes for an ontology identifier. It then concatenates this with record names and field names. It will overwrite any existing entries for ontology identifier in either record, edit_field, list_field, or attribute_field entries.


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

Field Summary
 
Fields inherited from class project35.soa.plugins.AbstractProject35Plugin
initialisationParameters, resourceDirectory
 
Constructor Summary
OntologyIdentifierCreationPlugin()
           
 
Method Summary
 void execute(Project35FormContext project35FormContext)
          execute the plugin
 boolean isSuitableForRecordModel(java.lang.String modelStamp, java.lang.String recordClassName)
          Interface: Project35Plugin
 
Methods inherited from class project35.soa.plugins.AbstractProject35Plugin
getDescription, getDisplayName, getHelpLink, getInitialisationParameters, initialiseService, setDescription, setDisplayName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OntologyIdentifierCreationPlugin

public OntologyIdentifierCreationPlugin()
Method Detail

isSuitableForRecordModel

public boolean isSuitableForRecordModel(java.lang.String modelStamp,
                                        java.lang.String recordClassName)
Interface: Project35Plugin

Parameters:
modelStamp - - is the model stamp currently being used by the application.
recordClassName - - the record class of a target record model, usually the currently displayed one.

execute

public void execute(Project35FormContext project35FormContext)
             throws java.lang.Exception
Description copied from interface: Project35Plugin
execute the plugin

Throws:
java.lang.Exception