org.wsmo.factory
Class ChoreographyFactory

java.lang.Object
  extended by org.wsmo.factory.ChoreographyFactory
Direct Known Subclasses:
ChoreographyFactoryRI

public abstract class ChoreographyFactory
extends Object

Factory for creating Choreographies. Nested inner interfaces are used in combination with public fields to create a pseudo-namespace mechanism, which groups the objects that are created by this factory in a type safe way using the reference type of the inner interfaces. It is also safe for the fields to be public since they're final. Inner interfaces create a new reference type like a any other top-level interface, which let code-completion IDEs work with the exposed fields. It also allows the client programmer to either keep a reference to the main factory around or references to the individual subfactories, which is usefull if subsystems exist in the client programmers code that need/should create only a certain type of objects. Note that it is ok for the inner interface names to be in plural, unlike most singularily named top-level interfaces including ChoreographyFactory.

         Created on Jul 26, 2005
         Committed by $Author: vassil_momtchev $
         $Source$
 

Version:
$Revision: 1844 $ $Date: 2006-10-24 17:11:48 +0300 (Tue, 24 Oct 2006) $
Author:
James Scicluna, Thomas Haselwanter, Holger Lausen

Nested Class Summary
static interface ChoreographyFactory.Containers
           
static interface ChoreographyFactory.Facts
           
static interface ChoreographyFactory.Modes
           
static interface ChoreographyFactory.TransitionRules
           
static interface ChoreographyFactory.UpdateRules
           
 
Field Summary
 ChoreographyFactory.Containers containers
           
 ChoreographyFactory.Facts facts
           
 ChoreographyFactory.Modes modes
           
 ChoreographyFactory.TransitionRules transitionRules
           
 ChoreographyFactory.UpdateRules updateRules
           
 
Constructor Summary
ChoreographyFactory()
           
 
Method Summary
protected abstract  ChoreographyFactory.Containers createContainers()
           
protected abstract  ChoreographyFactory.Facts createFacts()
           
protected abstract  ChoreographyFactory.Modes createModes()
           
protected abstract  ChoreographyFactory.TransitionRules createTransitionRules()
           
protected abstract  ChoreographyFactory.UpdateRules createUpdateRules()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

containers

public final ChoreographyFactory.Containers containers

transitionRules

public final ChoreographyFactory.TransitionRules transitionRules

updateRules

public final ChoreographyFactory.UpdateRules updateRules

facts

public final ChoreographyFactory.Facts facts

modes

public final ChoreographyFactory.Modes modes
Constructor Detail

ChoreographyFactory

public ChoreographyFactory()
Method Detail

createContainers

protected abstract ChoreographyFactory.Containers createContainers()

createTransitionRules

protected abstract ChoreographyFactory.TransitionRules createTransitionRules()

createUpdateRules

protected abstract ChoreographyFactory.UpdateRules createUpdateRules()

createFacts

protected abstract ChoreographyFactory.Facts createFacts()

createModes

protected abstract ChoreographyFactory.Modes createModes()


Copyright © 2004-2008 Ontotext Lab.. All Rights Reserved.