project35.system
Class Project35FormContext

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap
          extended by project35.system.Context
              extended by project35.system.Project35FormContext
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map

public class Project35FormContext
extends Context

a HashMap that holds environment variables which have a form-wide scope of effect of the current form


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
static java.lang.String CURRENT_FIELD
          the name of the current field in the form; used by ontology services to determine what field called them
static java.lang.String CURRENT_RECORD_MODEL
          hash key for: project35.mda.model.RecordModel, which is the currently displayed record
static java.lang.String ONTOLOGY_CONTEXT
          hash key for: project35.soa.ontology.sources.OntologyContext; ontology services make use of OntologyContext to figure out what else is on the form
 
Constructor Summary
Project35FormContext(Project35DocumentContext project35DocumentContext)
           
 
Method Summary
 Project35ApplicationContext getApplicationContext()
           
 java.lang.Object getApplicationProperty(java.lang.String propertyName)
           
 Project35DocumentContext getDocumentContext()
           
 java.lang.Object getDocumentProperty(java.lang.String propertyName)
           
 void setApplicationProperty(java.lang.String propertyName, java.lang.Object object)
           
 void setDocumentProperty(java.lang.String propertyName, java.lang.Object object)
           
 
Methods inherited from class project35.system.Context
getProperty, getRegisteredPropertyNames, setProperty
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Field Detail

CURRENT_RECORD_MODEL

public static final java.lang.String CURRENT_RECORD_MODEL
hash key for: project35.mda.model.RecordModel, which is the currently displayed record

See Also:
Constant Field Values

CURRENT_FIELD

public static final java.lang.String CURRENT_FIELD
the name of the current field in the form; used by ontology services to determine what field called them

See Also:
Constant Field Values

ONTOLOGY_CONTEXT

public static final java.lang.String ONTOLOGY_CONTEXT
hash key for: project35.soa.ontology.sources.OntologyContext; ontology services make use of OntologyContext to figure out what else is on the form

See Also:
Constant Field Values
Constructor Detail

Project35FormContext

public Project35FormContext(Project35DocumentContext project35DocumentContext)
Method Detail

getDocumentContext

public Project35DocumentContext getDocumentContext()

getApplicationContext

public Project35ApplicationContext getApplicationContext()

getDocumentProperty

public java.lang.Object getDocumentProperty(java.lang.String propertyName)

getApplicationProperty

public java.lang.Object getApplicationProperty(java.lang.String propertyName)

setApplicationProperty

public void setApplicationProperty(java.lang.String propertyName,
                                   java.lang.Object object)

setDocumentProperty

public void setDocumentProperty(java.lang.String propertyName,
                                java.lang.Object object)