|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
metafacade
to the cache according to first mappingObject
, second the
metafacade
, and finally by the current namespace
.
name
and value
to the outputConditions map.
Filter
instances in the given filters
to this instance.
from
type to the mapping.
ignorePattern
to the Collection of ignorePatterns.
mappings
instance to this Mappings instance
overriding any mappings with duplicate names.
modelElements
.
namespaces
to this instance.
name
and value
.
propertyReferences
to the property references contained in this MetafacadeMapping
instance.
stereotype
to the stereotypes.
templateObject
to the collection of template objects that will be made available to the
plugin during processing.
type
to the collection of types belonging to this model element.
validatePattern
to the Collection of validatePatterns.
object
's toString result to the current translated expression
String Buffer.
ExceptionUtils.checkAssignable(Class, String, Class)
since we can detect the method name.
ExceptionUtils.checkEmpty(String, String)
instead since we can detect the method name.
ExceptionUtils.checkNull(String, Object)
instead since we can detect the method name.
Namespaces.clear()
.
Server
instance.DefaultClient
instance.from
value
object
contains a
valid property with the given name
and value
.
object
to the expectedType
.
mappingClass
and (optionally) its sterotypes
and context
.
mappingObject
, and
mapping
instance.
mappingClass
.
mappingObjects
collection depending on its
mappingClass
and (optionally) its sterotypes
,
and contextName
.
mappingObjects
collection depending on its
mappingClass
.
Namespaces.getProperty(java.lang.String, java.lang.String)
method if we wish to use a 'default' Namespace
for Plugins.
Client
instance.instance
.modelTypeNamespaces
list.
messages
first by type (i.e. the metafacade class)
and then by the name
of the model element to which the validation message applies.
Filter
instances that should or should not be applied
to a model.stereotype
(with any filtering
applied from the information provided by #setPackageFilter(ModelPackages)
).
directoryUri
and returns the first
Class found that is of the given type
.
key
.
key
.
key
,
if it can't be found, the default of the specified type
is
returned, if no default is set, null is returned.
key
registered by the specified namespace
.
type
.
type
,
throwing a ComponentContainerException
exception if one can not
be found.
clazz
(this includes
all super class methods, public, private and protected).
resource
is an archive file, it will return the resource as an archive.
resource
represents a classpath archive (i.e. jar, zip, etc), this method will retrieve all
contents from that resource as a List of relative paths (relative to the archive base).
context
)
from the given context
and returns a list containing all
of them.
resource
happens to be a directory, it will load the contents of that directory into a
List and return the list of names relative to the given resource
(otherwise it will return an empty
List).
resource
happens to be a directory, it will load the contents of that directory into a
List and return the list of names relative to the given resource
(otherwise it will return an empty
List).
patterns
.
expression
contained within the template
being processed and returns the result.
objectClass
.
uri
.
stream
.
string
.
className
(including className
itself, assuming it's an interface as well).
clazz
(including clazz
itself, assuming it's an interface as well).
className
in reverse order.
long
.
long
when this resource
was last modified.
from
.
key
created from the mappingObject
's
class, context
and given stereotypes
.
mappingObject
.
MetafacadeMapping
instances belonging to this
metafacade mappings instance.
metafacadeImplClass
.
context
for this metafacade.
metafacadeClass
.
metafacadeClass
.
mappingClass
,context
and
stereotypes, from the mappings for the given namespace
.
- getMetafacadeName() -
Method in class org.andromda.core.metafacade.ModelValidationMessage
- Gets the name of the metafacade to which this validation message applies.
- getMetafacades() -
Method in class org.andromda.core.cartridge.template.ModelElement
- Gets the metafacades that belong to this ModelElement instance.
- getMetafacadesByStereotype(String) -
Method in class org.andromda.core.metafacade.MetafacadeFactory
-
Gets all metafacades for the entire model having the given
stereotype.
- getMetaObject() -
Method in class org.andromda.core.metafacade.MetafacadeBase
- Gets the current meta model object for this metafacade.
- getModel() -
Method in class org.andromda.core.metafacade.MetafacadeFactory
- Gets the model which provides access to the underlying model and is used
to construct metafacades.
- getModel() -
Method in interface org.andromda.core.metafacade.ModelAccessFacade
- Returns an object that represents the entire model.
- getModel() -
Method in interface org.andromda.core.repository.RepositoryFacade
- Returns the facade as the given
type
for the top-level model object from the repository.
- getModelElements() -
Method in class org.andromda.core.cartridge.template.ModelElements
- Returns all model elements belonging to this model elements instance.
- getModelElements() -
Method in interface org.andromda.core.metafacade.ModelAccessFacade
- Returns all elements from the model (with any filtering
applied from the information provided by
#setPackageFilter(ModelPackages)
).
- getModelMetafacadeMappings(String) -
Method in class org.andromda.core.metafacade.MetafacadeMappings
- Should be used used instead of "this", retrieves the appropriate
metafacade mappings instance based on the current model type.
- getModels() -
Method in class org.andromda.core.configuration.Repository
- Gets the model instances belonging to this repository.
- getModuleSearchLocationPaths() -
Method in class org.andromda.core.configuration.Model
- Gets all found module search location paths for this model instance.
- getModuleSearchLocationResources() -
Method in class org.andromda.core.configuration.Model
- Gets the accumulation of all files found when combining the contents
of all module search location paths and their patterns by which they
are filtered as well as the model URI.
- getModuleSearchLocations() -
Method in class org.andromda.core.configuration.Model
- Gets the module searach locations for this model instance.
- getName() -
Method in class org.andromda.core.cartridge.template.Type
- Gets the name of this type (typically the fully qualified class name
of the type).
- getName() -
Method in class org.andromda.core.cartridge.template.Type.Property
- Gets the value of the
name
attribute on the property
element.
- getName() -
Method in class org.andromda.core.common.TemplateObject
- Gets the current name of this TemplateObject.
- getName() -
Method in class org.andromda.core.configuration.Namespace
- Returns name of this Namespace.
- getName() -
Method in class org.andromda.core.configuration.Property
- Returns the name.
- getName() -
Method in class org.andromda.core.configuration.Repository
- Gets the unique name of this repository.
- getName() -
Method in class org.andromda.core.mapping.Mappings
- Returns the name name (this is the name for which the type mappings are
for).
- getName(Object) -
Method in interface org.andromda.core.metafacade.ModelAccessFacade
- Returns the name of a metafacade (whatever that means for a concrete model).
- getName() -
Method in class org.andromda.core.metafacade.ModelValidationMessage
- Gets the name of the validation constraint.
- getName() -
Method in class org.andromda.core.namespace.Component
- Gets the name of the component.
- getName() -
Method in class org.andromda.core.namespace.NamespaceRegistry
- Gets the name of the namespace registry.
- getName() -
Method in class org.andromda.core.namespace.PropertyDefinition
- Gets the name of this property definition.
- getName() -
Method in class org.andromda.core.translation.Expression
- Gets the name of the expression.
- getName() -
Method in class org.andromda.core.translation.library.Fragment
- Gets the name of this fragment
- getName() -
Method in class org.andromda.core.translation.library.LibraryTranslation
- Gets the name of this LibraryTranslation.
- getName() -
Method in class org.andromda.core.translation.library.Translation
- Gets the name of this Translation.
- getNamespace() -
Method in class org.andromda.core.common.TemplateObject
- Gets the namespace to which this template object belongs.
- getNamespace(String) -
Method in class org.andromda.core.configuration.Namespaces
- Gets the Namespace with the corresponding
namespaceName
.
- getNamespace() -
Method in class org.andromda.core.metafacade.MetafacadeFactory
- Returns the name of the active namespace.
- getNamespace() -
Method in class org.andromda.core.namespace.BaseNamespaceComponent
-
- getNamespace() -
Method in interface org.andromda.core.namespace.NamespaceComponent
- Gets the namespace to which this component belongs.
- getNamespaceList() -
Method in class org.andromda.core.configuration.Filter
- Gets the list of namespaces that this filter applies to.
- getNamespaceLogFileName(String) -
Static method in class org.andromda.core.common.AndroMDALogger
- Gets the name of the file to which namespace logging output will be written.
- getNamespaceLogger(String) -
Static method in class org.andromda.core.common.AndroMDALogger
- Retrieves the namespace logger (if one is available) otherwise returns the root logger.
- getNamespaceLoggerName(String) -
Static method in class org.andromda.core.common.AndroMDALogger
- Gets the name of the logger.
- getNamespaceRegistries() -
Method in class org.andromda.core.configuration.Namespaces
- Gets all available namespace registries (these are namespaces
which have been discovered but are not necessarily configured).
- getNamespaces() -
Method in class org.andromda.core.configuration.Configuration
- Gets the configuration namespaces.
- getNamespaces() -
Method in class org.andromda.core.configuration.Namespaces
- Gets the namespaces registered in this namespaces instance.
- getObject() -
Method in class org.andromda.core.common.TemplateObject
- Returns the actuall object instance described by this
template object.
- getObject(URL) -
Method in class org.andromda.core.common.XmlObjectFactory
- Returns a configured Object based on the objectXml configuration file
- getObject(Reader) -
Method in class org.andromda.core.common.XmlObjectFactory
- Returns a configured Object based on the objectXml configuration reader.
- getObject(String) -
Method in class org.andromda.core.common.XmlObjectFactory
- Returns a configured Object based on the objectXml configuration file passed in as a String.
- getObject(String, URL) -
Method in class org.andromda.core.common.XmlObjectFactory
- Returns a configured Object based on the objectXml configuration file passed in as a String.
- getOriginalExpression() -
Method in class org.andromda.core.translation.Expression
- Returns the expression before translation.
- getOutlet() -
Method in class org.andromda.core.cartridge.Resource
- Gets the logical location to which output from this resource will be written.
- getOutputCondition() -
Method in class org.andromda.core.cartridge.Resource
- Gets the outputCondition that must evaluate to true in order for the template to be written.
- getOutputLocation(Object[], File, String) -
Method in class org.andromda.core.cartridge.Resource
- Returns the fully qualified name of the resource output to be written, this means: the output pattern
has been translated the output directory name has been prepended
- getOutputLocation(String, String, File, String) -
Method in class org.andromda.core.cartridge.template.Template
- Returns the fully qualified output file, this means:
the output pattern has been translated
the output dir name has been prepended
- getOutputLocation() -
Method in class org.andromda.core.configuration.Transformation
- Gets the location to which the output of the transformation result will
be written.
- getOutputPattern() -
Method in class org.andromda.core.cartridge.Resource
- Gets the pattern that is used to build the name of the output file.
- getPackageName(Object) -
Method in interface org.andromda.core.metafacade.ModelAccessFacade
- Returns the package name of a model element (whatever that means for a concrete model).
- getPackages() -
Method in class org.andromda.core.configuration.Model
- Stores the information about what packages should/shouldn't be processed.
- getPath() -
Method in class org.andromda.core.cartridge.Resource
- Gets the path to the cartridge resource.
- getPath() -
Method in class org.andromda.core.configuration.Location
- Gets the path to this location.
- getPath() -
Method in class org.andromda.core.namespace.NamespaceComponents
- Gets the path to the namespace registry descriptor.
- getPaths() -
Method in class org.andromda.core.namespace.Component
- Gets the component's descriptor paths (these are the paths
where the component's descriptor may be found).
- getPaths(String) -
Method in class org.andromda.core.namespace.NamespaceRegistry
- Gets the initialization paths for the given component name.
- getPatterns() -
Method in class org.andromda.core.configuration.Location
- Gets the patterns to include in this location.
- getPort() -
Method in class org.andromda.core.configuration.Server
- The port the server should be run on.
- getPrimitiveClass(String, ClassLoader) -
Static method in class org.andromda.core.common.ClassUtils
- Returns the type class name for a Java primitive.
- getProperties() -
Method in class org.andromda.core.cartridge.template.Type
- Gets the properties defined for this type.
- getProperties() -
Method in class org.andromda.core.configuration.Configuration
- Gets the properties belonging to this configuration.
- getProperties() -
Method in class org.andromda.core.configuration.Namespace
- Gets all namespaces belonging to this namespaces instance.
- getProperty(Object, String) -
Method in class org.andromda.core.common.Introspector
- Attempts to retrieve the property with the given
name
on the object
.
- getProperty(String) -
Method in class org.andromda.core.configuration.Namespace
- Retrieves the property with the specified name.
- getProperty(String, String) -
Method in class org.andromda.core.configuration.Namespaces
- Retrieves a property from the Namespace with the namespaceName.
- getProperty(String, String, boolean) -
Method in class org.andromda.core.configuration.Namespaces
- Retrieves a property from the Namespace with the namespaceName.
- getProperty(Object, String) -
Static method in class org.andromda.core.translation.TranslationUtils
- Just retriieves properties from a bean, but gives a more informational error when the property can't be
retrieved, it also cleans the resulting property from any excess white space
- getPropertyAsString(Object, String) -
Static method in class org.andromda.core.translation.TranslationUtils
- Just retriieves properties from a bean, but gives a more informational error when the property can't be
retrieved, it also cleans the resulting property from any excess white space
- getPropertyDefinition(String) -
Method in class org.andromda.core.namespace.NamespaceRegistry
- Attempts to retrieve the property definition for the given
name
.
- getPropertyDefinitions(String) -
Method in class org.andromda.core.configuration.Namespaces
- Retrieves all property definitions for the given namespace.
- getPropertyDefinitions() -
Method in class org.andromda.core.namespace.NamespaceRegistry
- Gets all property definitions belonging to this registry.
- getPropertyReferences() -
Method in class org.andromda.core.common.BasePlugin
-
- getPropertyReferences() -
Method in interface org.andromda.core.common.Plugin
- Gets all property references available for this cartridge.
- getPropertyReferences() -
Method in class org.andromda.core.metafacade.MetafacadeMapping
- Returns all mapping references for this MetafacadeMapping instance.
- getPropertyReferences() -
Method in class org.andromda.core.metafacade.MetafacadeMappings
- Gets all property references defined in this mappings instance.
- getPropertyValue(String, String) -
Method in class org.andromda.core.configuration.Namespaces
- Attempts to get the value of a property from the given
namespace
with the given name
by first attempting
to retrieve it from the namespace and if no property is defined
in the namespace we retrieve the default value (if one is defined).
- getRegisteredComponents() -
Method in class org.andromda.core.namespace.NamespaceRegistry
- Gets the names registered components.
- getRegistry(String) -
Method in class org.andromda.core.configuration.Namespaces
- Retrieves the namespace registry for the given namespace, or returns null
if it doesn't exist.
- getRepositories() -
Method in class org.andromda.core.configuration.Configuration
- Gets the repository instances belonging to this configuration.
- getRepository() -
Method in class org.andromda.core.configuration.Model
- Gets the repository to which this model belongs.
- getResource(String) -
Static method in class org.andromda.core.common.ResourceUtils
- Retrieves a resource from the current classpath.
- getResource(String, String) -
Static method in class org.andromda.core.common.ResourceUtils
-
Retrieves a resource from an optionally given
directory
or from the package on the classpath.
- getResource(String, URL) -
Static method in class org.andromda.core.common.ResourceUtils
-
Retrieves a resource from an optionally given
directory
or from the package on the classpath.
- getResource() -
Method in class org.andromda.core.common.TemplateObject
- The resource in which the templateObject was found.
- getResource() -
Method in class org.andromda.core.mapping.Mappings
- Returns the resource URI from which this Mappings object was loaded.
- getResource() -
Method in class org.andromda.core.namespace.BaseNamespaceComponent
-
- getResource() -
Method in interface org.andromda.core.namespace.NamespaceComponent
- The entire path to the resource this namespace component instance
is configured from.
- getResourceRoots(String) -
Method in class org.andromda.core.configuration.Namespaces
- Attempts to retrieve the resource root of the namespace.
- getResourceRoots() -
Method in class org.andromda.core.namespace.NamespaceRegistry
- Gets the resource root of this namespace.
- getResources() -
Method in class org.andromda.core.cartridge.Cartridge
- Returns the list of templates configured in this cartridge.
- getResources() -
Method in class org.andromda.core.configuration.Location
- Gets all files that are valid for this location.
- getRootCause(Throwable) -
Static method in class org.andromda.core.common.ExceptionUtils
- Attempts to retrieve the root cause of the exception, if it can not be
found, the
throwable
itself is returned.
- getServer() -
Method in class org.andromda.core.configuration.Configuration
- Gets the server instance for this configuration.
- getStartingProperty(String) -
Static method in class org.andromda.core.translation.TranslationUtils
- Retrieves the "starting" property name from one that is nested, for example, will return '
' from the
string --> .
- getStaticFieldValues(Class, Class) -
Static method in class org.andromda.core.common.ClassUtils
- Returns a collection of all static fields values for the given
clazz
and type
of field.
- getStereotype() -
Method in class org.andromda.core.cartridge.template.ModelElement
- Gets the stereotype of this modelElement.
- getStereotypeNames(Object) -
Method in interface org.andromda.core.metafacade.ModelAccessFacade
- Returns a collection of stereotype names for a modelElement (whatever that means for a concrete model).
- getSupportedModeElements() -
Method in class org.andromda.core.cartridge.template.Template
- Tells us the model elements that are supported by this template (i.e. will be processed by this template)
- getTemplate() -
Method in class org.andromda.core.translation.library.LibraryTranslation
- Gets the path to the template for this instance.
- getTemplateEngine() -
Method in class org.andromda.core.common.BasePlugin
-
- getTemplateEngine() -
Method in interface org.andromda.core.common.Plugin
- Gets the TemplateEngine which implements the template processing.
- getTemplateObjects() -
Method in class org.andromda.core.common.BasePlugin
-
- getTemplateObjects() -
Method in interface org.andromda.core.common.Plugin
- Returns all the TemplateObject objects that are available to this Plugin.
- getTo() -
Method in class org.andromda.core.mapping.Mapping
- Returns the to type for this mapping.
- getTo(String) -
Method in class org.andromda.core.mapping.Mappings
- Returns the
to
mapping from a given from
mapping.
- getTransformations() -
Method in class org.andromda.core.configuration.Model
- Gets the transformations belonging to this configuration.
- getTranslated(String, String) -
Method in class org.andromda.core.translation.library.Translation
- Gets the "translated" value of this Fragment if it exists.
- getTranslatedExpression() -
Method in class org.andromda.core.translation.Expression
- Returns the expression after translation.
- getTranslation() -
Method in class org.andromda.core.translation.library.Fragment
- Gets the Translation to which this Fragment belongs.
- getTranslationFragment(String, String) -
Method in class org.andromda.core.translation.library.LibraryTranslation
- Gets the current "translated" value of this fragmentName for resulting from the last processTranslation method
- getTranslator() -
Method in class org.andromda.core.translation.library.LibraryTranslation
- Gets the Translator instance that will perform processing of the template.
- getType() -
Method in class org.andromda.core.configuration.Model
- Gets the type of the model (i.e. the type of metamodel this
model is based upon).
- getType() -
Method in class org.andromda.core.namespace.Component
- Gets the class that defines this component.
- getTypes() -
Method in class org.andromda.core.cartridge.template.ModelElement
- Gets all types associated with this model element.
- getUniqueName(String) -
Method in class org.andromda.core.common.ExceptionRecorder
- Gets a unique file name.
- getUri() -
Method in class org.andromda.core.configuration.Transformation
- The URL of the model.
- getUris() -
Method in class org.andromda.core.configuration.Model
- All URIs that make up the model.
- getValidationMessages() -
Method in class org.andromda.core.metafacade.MetafacadeFactory
- Gets the list of all validation messages collection during model processing.
- getValidationName() -
Method in class org.andromda.core.metafacade.MetafacadeBase
- Retrieves the
name
of this metafacade used within the validation messages.
- getValidationOwner() -
Method in class org.andromda.core.metafacade.MetafacadeBase
- Retrieves the
owner
of this metafacade (for example: an operation owns its parameters, a class owns
its attributes).
- getValue() -
Method in class org.andromda.core.cartridge.template.Type.Property
- Gets the value of the
value
attribute defined on the property
element.
- getValue() -
Method in class org.andromda.core.configuration.Filter
- Gets the value of this Filter.
- getValue() -
Method in class org.andromda.core.configuration.Property
- Returns the value.
- getVariable() -
Method in class org.andromda.core.cartridge.template.ModelElement
- Gets the variable stereotype of this modelElement (this is what is made available to a template during
processing).
- getVariable() -
Method in class org.andromda.core.cartridge.template.ModelElements
- The variable name to make the model element available to the template engine.
- getVariable() -
Method in class org.andromda.core.cartridge.template.Type.Property
- Gets the variable name under which this property's value (or element if the property
is a collection) should be stored within the template.
- getVariable() -
Method in class org.andromda.core.translation.library.LibraryTranslation
- Gets the variable name which is made available to the translation template.
- getWrittenCount() -
Method in class org.andromda.core.common.ResourceWriter
- Gets the number of currently written resources over the course of this instance's history.
true
or false
depending on whether or not this model element has a stereotype
defined.
true
or false
depending on whether or not this model element has any type
elements defined.
metafacade
mappings, etc).
MetafacadeMappings.getMapping(Object, String, Collection)
.
MetafacadeMappings.getMapping(Object, String, Collection)
.
object
's toString result at the start and end positions of
the buffer containing the Expression.
parent
Throwable.
message
String.
value
should be applied.
resource
represents an archive or not (i.e. jar, or zip,
etc).
model
has changed since the previous call to this method.
type
is present in one of the given directoryUris
.
component
is present within the given
namespace
property
is registered or not.
contextRoot
, by default a mapping is NOT
a contextRoot.
modelElements
stored within it.
url
is a file.
time
.
Template.isOutputToSingleFile()
is
true
, whether or not the file should be output.
true
then all model elements found by the processor (i.e. all those
having matching modelElements) will aggregated and output to one single file.
object
has a property that
is readable with the given name
.
key
is registered.
key
is registered by the
specified namespace
.
true
.
namespace
is
shared or not.
object
has a property that
is writable with the given name
.
from
values to
single to
.path
matches on
one or more of the patterns defined within this class
returns true if no patterns are defined.
metaObject
and context
.
metafacade
instance and a message
indicating what has been violated.
metafacade
instance the name
of the
validation constraint and the actual message
text indicating
what has been violated.
directory
and any of its sub directories have been modified after the given time
.
XmlObjectFactory
.
Namespaces
.implementation
(if it
isn't null or empty), otherwise attempts to find the default
implementation of the given type
by searching the
META-INF/services
directory for the default
implementation.
implementation
(if it
isn't null or empty), otherwise attempts to find the default
implementation of the given type
by searching the
META-INF/services
directory for the default
implementation.
type
by searching the
META-INF/services
directory and finding its default
implementation.
className
.
type
.
false
within an andromda-cartridge.xml).
templateContext
with the properties and template objects defined in the
plugin
's descriptor.
templateContext
with the properties and template objects defined in the
plugin
's descriptor.
configuration
instance (if different from that of the one passed in during the call to
ModelProcessor.initialize(Configuration)
), and runs the model processor.
resource
template
.
modelElements
for this template.
template
without metafacades.
key
.
key
by the specified namespace
.
type
.
type
.
pattern
with the replacement within the translated expression
buffer.
namespace
requires a merge.
ResourceWriter.writeHistory()
must be called.
URL
does with the jar:file
protocol.
<resource>
tag in a cartridge descriptor file and represents the base
cartridge resource element.DefaultServer
instance.context
)
contextRoot
for this mapping.
true
.
Library
to which this LibraryInstance belongs.
loggingConfigurationUri
for AndroMDA.
merge
templates.
Template.isOutputToSingleFile()
returns true
.
name
on the object
with the given value
.
name
having the specified value
on this metafacade.
true
.
true
.
xmlValidation
to be true/false.
namespace
should be processed.
configuration
.
configuration
.
<template>
tag in a cartridge
descriptor file.XmlObjectFactory
to instantiate the template configuration.
this
.
from1, from2, from3 --> to
.
path
to a URL instance.
model
with the given
transformations
.
expression
by looking up the
translationName
from the available Translation-Libraries
found on the classpath.
TranslationUtils
instances should NOT be constructed in standard programming.
key
.
messages
collection.
model
to the specified outputLocation
.
model
to the specified outputLocation
using the default encoding
provided by the model writer.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |