|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.andromda.core.mapping.Mapping
public class Mapping
A single child mapping instance belonging to a Mappings instance. It doesn't make sense to instantiate this class by itself.
Mappings| Constructor Summary | |
|---|---|
Mapping()
|
|
| Method Summary | |
|---|---|
void |
addFrom(java.lang.String from)
Adds the from type to the mapping. |
void |
addPath(java.lang.String path)
Adds the path to the listof paths. |
java.util.Collection |
getFroms()
Return the Collection of froms. |
java.lang.String |
getTo()
Returns the to type for this mapping. |
void |
setTo(java.lang.String to)
Sets the type for this mapping. |
java.lang.String |
toString()
Returns a String representation of this mapping in the form of from1, from2, from3 --> to. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Mapping()
| Method Detail |
|---|
public void addFrom(java.lang.String from)
from type to the mapping.
from - the type that we are mapping from.public java.util.Collection getFroms()
public java.lang.String getTo()
public void addPath(java.lang.String path)
path - public void setTo(java.lang.String to)
to - the value to which the from
values are mapped.public java.lang.String toString()
from1, from2, from3 --> to.
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||