public class Fragment extends Object
Translation| Constructor and Description |
|---|
Fragment()
It doesn't make any sense to instatiate this object explicitly.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addKind(String name,
String body)
Adds the specified kind having the specified name and body to the Fragment.
|
String |
getHandlerMethod()
Returns the name of the handler method.
|
String |
getKind(String name)
Returns the body for the fragment kind with the specified name.
|
Map<String,String> |
getKinds()
Returns the kinds contained within this translation fragment
|
String |
getName()
Gets the name of this fragment
|
Translation |
getTranslation()
Gets the Translation to which this Fragment belongs.
|
void |
setHandlerMethod(String handlerMethod)
Sets the name of the handler method.
|
void |
setName(String name)
Sets the name of this fragment.
|
void |
setTranslation(Translation translation)
Sets the Translation to which this Fragment belongs.
|
String |
toString() |
public Fragment()
Translationpublic void setName(String name)
name - the name to set.public Map<String,String> getKinds()
public String getKind(String name)
name - the name of the kind to get.public void addKind(String name, String body)
name - the name of the kind of expression.body - the body of the kind of expression.public String getHandlerMethod()
public void setHandlerMethod(String handlerMethod)
handlerMethod - The handlerMethod to set.Translatorpublic Translation getTranslation()
public void setTranslation(Translation translation)
translation - public String toString()
toString in class ObjectObject.toString()Copyright © 2003–2014 AndroMDA.org. All rights reserved.