org.obe.client.api.repository
Class AssignmentStrategyMetaData

java.lang.Object
  extended byorg.obe.client.api.repository.AbstractMetaData
      extended byorg.obe.client.api.repository.ImplClassMetaData
          extended byorg.obe.client.api.repository.AssignmentStrategyMetaData
All Implemented Interfaces:
java.io.Serializable

public final class AssignmentStrategyMetaData
extends ImplClassMetaData

Describes a work item assignment strategy implementation.

Author:
Adrian Price
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.obe.client.api.repository.AbstractMetaData
_author, _description, _displayName, _docUrl, _id, _threadsafe, _type, allowInheritance, EMPTY_ARGS, NO_ARGS_SIG
 
Constructor Summary
AssignmentStrategyMetaData()
          Constructs assignment strategy meta-data.
AssignmentStrategyMetaData(java.lang.String id, java.lang.String displayName, java.lang.String description, java.lang.String docUrl, java.lang.String author, java.lang.String implClass)
          Constructs assignment strategy meta-data.
 
Method Summary
 java.lang.Object createInstance(org.xml.sax.EntityResolver entityResolver)
          Returns the class that implements the assignment strategy.
 java.lang.String toString()
           
 
Methods inherited from class org.obe.client.api.repository.ImplClassMetaData
getImplClass, getImplCtorSig, setImplClass, setImplCtorSig
 
Methods inherited from class org.obe.client.api.repository.AbstractMetaData
createInstance, createInstance, getAuthor, getDescription, getDisplayName, getDocUrl, getId, getThreadsafe, getType, isThreadsafe, setAuthor, setDescription, setDisplayName, setDocUrl, setId, setThreadsafe, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AssignmentStrategyMetaData

public AssignmentStrategyMetaData()
Constructs assignment strategy meta-data.


AssignmentStrategyMetaData

public AssignmentStrategyMetaData(java.lang.String id,
                                  java.lang.String displayName,
                                  java.lang.String description,
                                  java.lang.String docUrl,
                                  java.lang.String author,
                                  java.lang.String implClass)
Constructs assignment strategy meta-data.

Parameters:
id - The strategy's XPDL ID.
displayName - The display name.
description - Textual description of this strategy.
docUrl - URL for documentation.
author - Author's name.
implClass - The fully qualified name of the strategy implementation class.
Method Detail

createInstance

public java.lang.Object createInstance(org.xml.sax.EntityResolver entityResolver)
                                throws RepositoryException
Returns the class that implements the assignment strategy.

Specified by:
createInstance in class AbstractMetaData
Parameters:
entityResolver -
Returns:
Strategy implementation.
Throws:
RepositoryException - if the class could not be found or instantiated.

toString

public java.lang.String toString()
Overrides:
toString in class AbstractMetaData


SourceForge.net Logo OBE-1.0 Copyright (c) 2002-2006 Adrian Price. All Rights Reserved.