
@Generated(value="org.jomc.tools.SourceFileProcessor 1.9",
comments="See http://www.jomc.org/jomc/1.9/jomc-tools-1.9")
public class RuntimeProperties
extends Properties
implements RuntimeModelObject
Properties.
property, referenceauthors, createDate, deprecated, documentation, MODEL_PUBLIC_ID, modelVersion| Constructor and Description |
|---|
RuntimeProperties()
Creates a new
RuntimeProperties instance. |
RuntimeProperties(Properties properties)
Creates a new
RuntimeProperties instance by deeply copying a given Properties instance. |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clears shared runtime state.
|
void |
gc()
Handles shared runtime state.
|
Property |
getProperty(String name)
Gets a property for a given name from the list of properties.
|
PropertyReference |
getReference(String name)
Gets a property reference for a given name from the list of references.
|
clone, getPropertiesByType, getProperty, getReferencegetAnyElement, getAnyElement, getAnyElements, getAnyElements, getAnyObject, getAnyObjects, getAuthors, getCreateDate, getDocumentation, getModelVersion, isDeprecated, setAuthors, setCreateDate, setDeprecated, setDocumentation, setModelVersionpublic RuntimeProperties(Properties properties)
RuntimeProperties instance by deeply copying a given Properties instance.properties - The instance to copy.NullPointerException - if properties is null.@Generated(value="org.jomc.tools.SourceFileProcessor 1.9",
comments="See http://www.jomc.org/jomc/1.9/jomc-tools-1.9")
public RuntimeProperties()
RuntimeProperties instance.public Property getProperty(String name)
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.
getProperty in class Propertiesname - The name of the property to return.null, if no such property is found.NullPointerException - if name is null.Properties.getProperty(),
Property.getName(),
clear()public PropertyReference getReference(String name)
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 Propertiesname - The name of the property reference to return.null, if no such reference is found.NullPointerException - if name is null.Properties.getReference(),
PropertyReference.getName(),
clear()public void gc()
RuntimeModelObjectgc in interface RuntimeModelObjectpublic void clear()
RuntimeModelObjectclear in interface RuntimeModelObjectCopyright © 2005–2015 The JOMC Project. All rights reserved.