project35.configurationTool
Class OntologyIdentifierGenerator

java.lang.Object
  extended by project35.configurationTool.OntologyIdentifierGenerator

public class OntologyIdentifierGenerator
extends java.lang.Object

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),

Constructor Summary
OntologyIdentifierGenerator()
           
 
Method Summary
 void createIdentifiers(Project35UIFactory project35UIFactory, java.lang.String defaultPrefix, RecordModel recordProvider)
          this method is used by other clients such as Pierre which may have child record definitions defined under another kind of record than a project35_configuration_schema record assumes that "recordProvider" will have a list child called "record"
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OntologyIdentifierGenerator

public OntologyIdentifierGenerator()
Method Detail

createIdentifiers

public void createIdentifiers(Project35UIFactory project35UIFactory,
                              java.lang.String defaultPrefix,
                              RecordModel recordProvider)
this method is used by other clients such as Pierre which may have child record definitions defined under another kind of record than a project35_configuration_schema record assumes that "recordProvider" will have a list child called "record"

Parameters:
defaultPrefix - prefix used to separate phrases in the ontology identifiers
recordProvider - a RecordModel or RecordModelReference which can provide the name of a record described in the target XML Schema