project35.configurationTool
Class CreateDefaultSchemaConceptRecordModels

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

public class CreateDefaultSchemaConceptRecordModels
extends java.lang.Object

utility class for creating default configuration properties for records used in the Project35 configuration tool. The tool tries to associate some properties with concepts defined in the schema. The class yields a result such as:

 RECORDMODEL: "record"
    EDITFIELD: "name"
    EDITFIELD: "help_link"
    ...
    LISTFIELD: "attribute_field"
    LISTFIELD: "edit_field"
    LISTFIELD: "list_field"
    ...
 

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
CreateDefaultSchemaConceptRecordModels()
           
 
Method Summary
 void addRecordModelConfigurations(RecordModel schemaConfiguration, RecordModelFactory configurationSchemaRecordFactory, RecordModelFactory targetSchemaRecordFactory)
          here, "schemaConfiguration" will simply be a record that can accept child records of name "record".
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateDefaultSchemaConceptRecordModels

public CreateDefaultSchemaConceptRecordModels()
Method Detail

addRecordModelConfigurations

public void addRecordModelConfigurations(RecordModel schemaConfiguration,
                                         RecordModelFactory configurationSchemaRecordFactory,
                                         RecordModelFactory targetSchemaRecordFactory)
here, "schemaConfiguration" will simply be a record that can accept child records of name "record". The children will show the default properties of recordModel, editFieldModel, listFieldModel and attributeFieldModel objects defined in the XML Schema