|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.andromda.core.metafacade.MetafacadeMapping
public class MetafacadeMapping
A meta facade mapping class. This class is a child of MetafacadeMappings
(that is: instances of this class below to an instance of MetafacadeMappings).
| Constructor Summary | |
|---|---|
MetafacadeMapping()
|
|
| Method Summary | |
|---|---|
void |
addMappingProperty(java.lang.String name,
java.lang.String value)
Adds a mapping property. |
void |
addPropertyReference(java.lang.String reference)
Adds a mapping property reference. |
void |
addPropertyReferences(java.util.Collection propertyReferences)
Adds all propertyReferences to the property references contained in this MetafacadeMapping
instance. |
void |
addStereotype(java.lang.String stereotype)
Adds a stereotype to the stereotypes. |
protected java.lang.String |
getMappingClassName()
Gets the name of the metaobject class used for this mapping. |
java.lang.Class |
getMetafacadeClass()
Gets the metafacadeClass for this mapping. |
java.util.Collection |
getPropertyReferences()
Returns all mapping references for this MetafacadeMapping instance. |
boolean |
isContextRoot()
Gets whether or not this mapping represents a contextRoot, by default a mapping is NOT
a contextRoot. |
void |
setContext(java.lang.String context)
Sets the context to which this mapping applies. |
void |
setContextRoot(boolean contextRoot)
Sets the name of the contextRoot for this mapping. |
void |
setMappingClassName(java.lang.String mappingClassName)
The name of the metaobject class to use for this mapping. |
void |
setMetafacadeClassName(java.lang.String metafacadeClassName)
Sets the metafacadeClassName for this mapping. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MetafacadeMapping()
| Method Detail |
|---|
public java.lang.Class getMetafacadeClass()
public void setMetafacadeClassName(java.lang.String metafacadeClassName)
metafacadeClassName - The name of the metafaacde class to set.protected java.lang.String getMappingClassName()
public void setMappingClassName(java.lang.String mappingClassName)
mappingClassName - The mappingClassName to set.public boolean isContextRoot()
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.
public void setContextRoot(boolean contextRoot)
contextRoot for this mapping.
contextRoot - The contextRoot to set.isContextRoot()public void addStereotype(java.lang.String stereotype)
stereotype to the stereotypes.
stereotype - public void addPropertyReference(java.lang.String reference)
reference - the name of the reference.MetafacadeMappings.addPropertyReference(String)public java.util.Collection getPropertyReferences()
public void addMappingProperty(java.lang.String name,
java.lang.String value)
name - the name of the reference.value - the default value of the property reference.public void addPropertyReferences(java.util.Collection propertyReferences)
propertyReferences to the property references contained in this MetafacadeMapping
instance.
propertyReferences - the property references to add.public void setContext(java.lang.String context)
context - The metafacade context name to set.public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||