@Generated(value="org.jomc.tools.SourceFileProcessor 1.3", comments="See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3") public class RuntimeProperty extends Property implements RuntimeModelObject
Property
.
authors, createDate, deprecated, documentation, MODEL_PUBLIC_ID, modelVersion
Constructor and Description |
---|
RuntimeProperty()
Creates a new
RuntimeProperty instance. |
RuntimeProperty(Property property)
Creates a new
RuntimeProperty instance by deeply copying a given Property instance. |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears shared runtime state.
|
void |
gc()
Handles shared runtime state.
|
Object |
getJavaValue(ClassLoader classLoader)
Gets the Java value of the property.
|
clone, getAny, getName, getType, getValue, isFinal, isOverride, setAny, setFinal, setName, setOverride, setType, setValue
getAnyElement, getAnyElement, getAnyElements, getAnyElements, getAnyObject, getAnyObjects, getAuthors, getCreateDate, getDocumentation, getModelVersion, isDeprecated, setAuthors, setCreateDate, setDeprecated, setDocumentation, setModelVersion
public RuntimeProperty(Property property)
RuntimeProperty
instance by deeply copying a given Property
instance.property
- The instance to copy.NullPointerException
- if property
is null
.@Generated(value="org.jomc.tools.SourceFileProcessor 1.3", comments="See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3") public RuntimeProperty()
RuntimeProperty
instance.public Object getJavaValue(ClassLoader classLoader) throws PropertyException
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.
getJavaValue
in class Property
classLoader
- The class loader to use for getting the Java value; null
to use the platform's
bootstrap class loader.null
.PropertyException
- if getting the Java value of the property fails unexpectedly.clear()
public void gc()
RuntimeModelObject
gc
in interface RuntimeModelObject
public void clear()
RuntimeModelObject
clear
in interface RuntimeModelObject
Copyright © 2005-2012 The JOMC Project. All Rights Reserved.