A meta facade mapping class. This class is a child of
MetafacadeMappings (that is: instances of this class below to an instance of
MetafacadeMappings ).
author: Chad Brandon
addPropertyReferences(Collection propertyReferences) Adds all propertyReferences to the property references contained in this MetafacadeMapping
instance.
Adds a mapping property. This are used to narrow the metafacade to which the mapping can apply. The properties
must exist and must evaluate to the specified value if given for the mapping to match.
Parameters: name - the name of the reference. Parameters: value - the default value of the property reference.
addMappingPropertyGroup
final void addMappingPropertyGroup(PropertyGroup propertyGroup)(Code)
Adds the propertyGroup to the existing mapping property groups within this mapping.
Parameters: propertyGroup - a property group for this mapping
addPropertyReference
public void addPropertyReference(String reference)(Code)
Adds a mapping property reference. These are used to populate metafacade impl classes with mapping files, etc.
The property reference applies to the given mapping.
Parameters: reference - the name of the reference. See Also:MetafacadeMappings.addPropertyReference(String)
addPropertyReferences
public void addPropertyReferences(Collection propertyReferences)(Code)
Adds all propertyReferences to the property references contained in this MetafacadeMapping
instance.
Parameters: propertyReferences - the property references to add.
addStereotype
public void addStereotype(String stereotype)(Code)
Adds a stereotype to the stereotypes.
Parameters: stereotype -
Gets whether or not this mapping represents a contextRoot, by default a mapping is NOT
a contextRoot. You'll want to specify this as true when other metafacades need to be created within the
context of this metafacade.
Returns the contextRoot.
Sets the metafacade mappings instance to which this particular mapping belongs. (i.e. the parent) Note, that this
is populated during the call to
MetafacadeMappings.addMapping(MetafacadeMapping) .
Parameters: mappings - the MetacadeMappings instance to which this mapping belongs.