Constructor and Description |
---|
Mapping() |
Modifier and Type | Method and Description |
---|---|
void |
addFrom(String from)
Adds the
from type to the mapping. |
void |
addPath(String path)
Adds the path to the listof paths.
|
Collection<String> |
getFroms()
Return the Collection of froms.
|
String |
getTo()
Returns the to type for this mapping.
|
(package private) void |
setMappings(Mappings mappings)
Sets the mappings to which this Mapping instance
belongs.
|
void |
setTo(String to)
Sets the type for this mapping.
|
String |
toString()
Returns a String representation of this mapping in the form of
from1, from2, from3 --> to . |
public Mapping()
public void addFrom(String from)
from
type to the mapping.from
- the type that we are mapping from.public Collection<String> getFroms()
public void setTo(String to)
to
- the value to which the from
values are mapped.final void setMappings(Mappings mappings)
mappings
- the owning mappings.Copyright © 2003–2014 AndroMDA.org. All rights reserved.