
@Generated(value="org.jomc.tools.SourceFileProcessor 1.5", comments="See http://www.jomc.org/jomc/1.5/jomc-tools-1.5") public class RuntimeSpecifications extends Specifications implements RuntimeModelObject
Specifications.
reference, specificationauthors, createDate, deprecated, documentation, MODEL_PUBLIC_ID, modelVersion| Constructor and Description |
|---|
RuntimeSpecifications()
Creates a new
RuntimeSpecifications instance. |
RuntimeSpecifications(Specifications specifications)
Creates a new
RuntimeSpecifications instance by deeply copying a given Specifications instance. |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clears shared runtime state.
|
void |
gc()
Handles shared runtime state.
|
SpecificationReference |
getReference(String specification)
Gets a specification reference for a given identifier from the list of references.
|
Specification |
getSpecification(Class<?> specification)
Gets a specification for a given class from the list of specifications.
|
Specification |
getSpecification(String specification)
Gets a specification for a given identifier from the list of specifications.
|
clone, getReference, getSpecificationgetAnyElement, getAnyElement, getAnyElements, getAnyElements, getAnyObject, getAnyObjects, getAuthors, getCreateDate, getDocumentation, getModelVersion, isDeprecated, setAuthors, setCreateDate, setDeprecated, setDocumentation, setModelVersionpublic RuntimeSpecifications(Specifications specifications)
RuntimeSpecifications instance by deeply copying a given Specifications instance.specifications - The instance to copy.NullPointerException - if specifications is null.@Generated(value="org.jomc.tools.SourceFileProcessor 1.5", comments="See http://www.jomc.org/jomc/1.5/jomc-tools-1.5") public RuntimeSpecifications()
RuntimeSpecifications instance.public Specification getSpecification(String specification)
This method queries an internal cache for a result object to return for the given argument values. If no cached result object is available, this method queries the super-class for a result object to return and caches the outcome of that query for use on successive calls.
Note:
Method clear() must be used to synchronize the state of the internal cache with the
state of the instance, should the state of the instance change.
getSpecification in class Specificationsspecification - The identifier of the specification to return.null, if no such specification is found.NullPointerException - if specification is null.Specifications.getSpecification(),
Specification.getIdentifier(),
clear()public Specification getSpecification(Class<?> specification) throws ModelObjectException
This method queries an internal cache for a result object to return for the given argument values. If no cached result object is available, this method queries the super-class for a result object to return and caches the outcome of that query for use on successive calls.
Note:
Method clear() must be used to synchronize the state of the internal cache with the
state of the instance, should the state of the instance change.
getSpecification in class Specificationsspecification - The class of the specification to return.null, if no such specification is found.NullPointerException - if specification is null.ModelObjectException - if parsing a name of a referenced type fails.Specifications.getSpecification(),
Specification.isClassDeclaration(),
Specification.getClazz(),
clear()public SpecificationReference getReference(String specification)
This method queries an internal cache for a result object to return for the given argument values. If no cached result object is available, this method queries the super-class for a result object to return and caches the outcome of that query for use on successive calls.
Note:
Method clear() must be used to synchronize the state of the internal cache with the
state of the instance, should the state of the instance change.
getReference in class Specificationsspecification - The identifier of the reference to return.null, if no such specification reference is found.NullPointerException - if specification is null.Specifications.getReference(),
SpecificationReference.getIdentifier(),
clear()public void gc()
RuntimeModelObjectgc in interface RuntimeModelObjectpublic void clear()
RuntimeModelObjectclear in interface RuntimeModelObjectCopyright © 2005-2013 The JOMC Project. All Rights Reserved.