Method Summary |
|
final protected MetafacadeBase | THIS() The metafacade instance of this . |
public boolean | equals(Object object) |
protected Object | getConfiguredProperty(String property) Gets a configured property from the container. |
final String | getContext() Gets the context for this metafacade. |
final public Object | getMetaObject() Gets the current meta model object for this metafacade. |
public String | getMetafacadeContext() Gets the context for this metafacade. |
final String | getName() Gets the name for this metafacade. |
final String | getNamespace() |
public String | getValidationName() Retrieves the name of this metafacade used within the validation messages.
By default null is returned, however this method is overridden by subclasses model elements that do
have a name. |
public Object | getValidationOwner() Retrieves the owner of this metafacade (for example: an operation owns its parameters, a class owns
its attributes).
By default null is returned, however this method is overridden by subclasses which have a
parent or owner . |
public int | hashCode() |
public void | initialize() A lifecycle method, providing the ability for sub classes to take any action after the factory has completely
initialized a metafacade, but before it has been validated for completeness. |
protected boolean | isConfiguredProperty(String property) Returns true or false depending on whether the property is registered or not.
Parameters: property - the name of the property to check. |
final boolean | isInitialized() Indicates if this metafacade has been initialized. |
final public boolean | isMetafacadePropertyCachingEnabled() A check to verify whether or not to make use of metafacade property caching. |
public void | resetMetafacadeContext(String context) Resets the metafacade context after the metafacade was retrieved from the metafacade cache. |
final void | setContextRoot(boolean contextRoot) Sets whether or not this metafacade represents a contextRoot. |
final void | setInitialized() Sets the flag indicating this metafacade has been initialized. |
final void | setLogger(Logger logger) Package-local setter, called by facade factory. |
public void | setMetafacadeContext(String context) Sets the context for this metafacade. |
final void | setNamespace(String namespace) Sets the namespace for this metafacade. |
protected void | setProperty(String name, Object value) Attempts to set the property with name having the specified value on this metafacade. |
protected MetafacadeBase | shieldedElement(Object metaObject) Returns one facade for a particular metaObject. |
protected Collection | shieldedElements(Collection metaobjects) Returns a collection of facades for a collection of metaobjects. |
final public void | validate(Collection validationMessages) Validates that this facade's meta object is in a valid state.
Validate is called during metafacade creation by the factory. |
public void | validateInvariants(Collection messages)
The logic of modeled OCL invariants from derived metafacades will be generated into this method and validation
messages created and collected into the messages collection. |