public abstract class AbstractAssociator extends java.lang.Object implements java.lang.Cloneable, Associator, java.io.Serializable, CapabilitiesHandler, RevisionHandler
| Constructor and Description |
|---|
AbstractAssociator() |
| Modifier and Type | Method and Description |
|---|---|
static Associator |
forName(java.lang.String associatorName,
java.lang.String[] options)
Creates a new instance of a associator given it's class name and
(optional) arguments to pass to it's setOptions method.
|
Capabilities |
getCapabilities()
Returns the Capabilities of this associator.
|
java.lang.String |
getRevision()
Returns the revision string.
|
static Associator[] |
makeCopies(Associator model,
int num)
Creates copies of the current associator.
|
static Associator |
makeCopy(Associator model)
Creates a deep copy of the given associator using serialization.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuildAssociationspublic static Associator forName(java.lang.String associatorName, java.lang.String[] options) throws java.lang.Exception
associatorName - the fully qualified class name of the associatoroptions - an array of options suitable for passing to setOptions. May
be null.java.lang.Exception - if the associator name is invalid, or the options
supplied are not acceptable to the associatorpublic static Associator makeCopy(Associator model) throws java.lang.Exception
model - the associator to copyjava.lang.Exception - if an error occurspublic static Associator[] makeCopies(Associator model, int num) throws java.lang.Exception
model - an example associator to copynum - the number of associators copies to create.java.lang.Exception - if an error occurspublic Capabilities getCapabilities()
getCapabilities in interface AssociatorgetCapabilities in interface CapabilitiesHandlerCapabilitiespublic java.lang.String getRevision()
getRevision in interface RevisionHandler