project35.mda.config
Class EditFieldConfiguration

java.lang.Object
  extended by project35.mda.config.PluginConfigurableComponent
      extended by project35.mda.config.SchemaConceptConfiguration
          extended by project35.mda.config.EditFieldConfiguration
Direct Known Subclasses:
AttributeFieldConfiguration

public class EditFieldConfiguration
extends SchemaConceptConfiguration

describes the configuration options for an edit field of a record. Corresponds to the "edit_field" record defined in the XML Schema used to drive the Project35 Configuration Tool.


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
EditFieldConfiguration()
           
 
Method Summary
 void addFieldValidationServiceConfiguration(FieldValidationServiceConfiguration fieldValidationServiceConfiguration)
           
 void addOntologyServiceConfiguration(OntologyServiceConfiguration ontologyServiceConfiguration)
           
 boolean allowFreeText()
          Get the value of allowFreeText.
 java.lang.String getCustomisedFieldViewClassName()
           
 java.lang.String getDefaultValue()
          Get the value of defaultValue.
 java.lang.String getEditingComponentClassName()
          gets the fully qualified path name of a class that implements project35.soa.EditFieldEditingComponent
 FieldValidationServiceConfiguration[] getFieldValidationServiceConfigurations()
           
 OntologyServiceConfiguration[] getOntologyServiceConfigurations()
           
 java.lang.String getUnits()
          Get the value of units.
 boolean isDisplayNameComponent()
          Get the value of displayNameComponent.
 boolean isScrollingTextField()
          Get the value of scrollingTextField.
 void setAllowFreeText(boolean allowFreeText)
          Set the value of allowFreeText.
 void setCustomisedFieldViewClassName(java.lang.String customisedFieldViewClassName)
           
 void setDefaultValue(java.lang.String defaultValue)
          Set the value of defaultValue.
 void setDisplayNameComponent(boolean displayNameComponent)
          Set the value of displayNameComponent.
 void setEditingComponentClassName(java.lang.String editingComponentClassName)
          sets the fully qualified path name of a class that implements project35.soa.EditFieldEditingComponent
 void setFieldValidationServiceConfigurations(java.util.ArrayList fieldValidationServiceConfigurations)
           
 void setScrollingTextField(boolean scrollingTextField)
          Set the value of scrollingTextField.
 void setUnits(java.lang.String units)
          Set the value of units.
 
Methods inherited from class project35.mda.config.SchemaConceptConfiguration
addPluginConfiguration, getDescription, getFormComments, getHelpLink, getName, getOntologyIdentifier, getPluginConfigurations, setDescription, setFormComments, setHelpLink, setName, setOntologyIdentifier, setPluginConfigurations
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EditFieldConfiguration

public EditFieldConfiguration()
Method Detail

getDefaultValue

public java.lang.String getDefaultValue()
Get the value of defaultValue.

Returns:
value of defaultValue.

getUnits

public java.lang.String getUnits()
Get the value of units.

Returns:
value of units.

allowFreeText

public boolean allowFreeText()
Get the value of allowFreeText.

Returns:
value of allowFreeText.

isScrollingTextField

public boolean isScrollingTextField()
Get the value of scrollingTextField.

Returns:
value of scrollingTextField.

isDisplayNameComponent

public boolean isDisplayNameComponent()
Get the value of displayNameComponent.

Returns:
value of displayNameComponent.

getFieldValidationServiceConfigurations

public FieldValidationServiceConfiguration[] getFieldValidationServiceConfigurations()

getOntologyServiceConfigurations

public OntologyServiceConfiguration[] getOntologyServiceConfigurations()

getCustomisedFieldViewClassName

public java.lang.String getCustomisedFieldViewClassName()

getEditingComponentClassName

public java.lang.String getEditingComponentClassName()
gets the fully qualified path name of a class that implements project35.soa.EditFieldEditingComponent


setDefaultValue

public void setDefaultValue(java.lang.String defaultValue)
Set the value of defaultValue.

Parameters:
defaultValue - Value to assign to defaultValue.

setUnits

public void setUnits(java.lang.String units)
Set the value of units.

Parameters:
units - Value to assign to units.

setAllowFreeText

public void setAllowFreeText(boolean allowFreeText)
Set the value of allowFreeText.

Parameters:
allowFreeText - Value to assign to allowFreeText.

setScrollingTextField

public void setScrollingTextField(boolean scrollingTextField)
Set the value of scrollingTextField.

Parameters:
scrollingTextField - Value to assign to scrollingTextField.

setDisplayNameComponent

public void setDisplayNameComponent(boolean displayNameComponent)
Set the value of displayNameComponent.

Parameters:
displayNameComponent - Value to assign to displayNameComponent.

addFieldValidationServiceConfiguration

public void addFieldValidationServiceConfiguration(FieldValidationServiceConfiguration fieldValidationServiceConfiguration)

setFieldValidationServiceConfigurations

public void setFieldValidationServiceConfigurations(java.util.ArrayList fieldValidationServiceConfigurations)

addOntologyServiceConfiguration

public void addOntologyServiceConfiguration(OntologyServiceConfiguration ontologyServiceConfiguration)

setCustomisedFieldViewClassName

public void setCustomisedFieldViewClassName(java.lang.String customisedFieldViewClassName)

setEditingComponentClassName

public void setEditingComponentClassName(java.lang.String editingComponentClassName)
sets the fully qualified path name of a class that implements project35.soa.EditFieldEditingComponent

Parameters:
editingComponentClassName - the string value of the path for the class that implements the EditFieldEditingComponent interface.