|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.andromda.core.cartridge.template.Type
public class Type
Represents the <type/> element nested within the <modelElement/> element.
ModelElement| Nested Class Summary | |
|---|---|
static class |
Type.Property
Stores and provides access to the type's <property/> elements. |
| Constructor Summary | |
|---|---|
Type()
|
|
| Method Summary | |
|---|---|
void |
addProperty(String name,
String variable,
String value)
Adds a property having the given name and value. |
String |
getName()
Gets the name of this type (typically the fully qualified class name of the type). |
Collection<Type.Property> |
getProperties()
Gets the properties defined for this type. |
void |
setName(String name)
Sets the name of this type (this is the fully qualified class name of the type). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Type()
| Method Detail |
|---|
public String getName()
public void setName(String name)
name - The name to set.public Collection<Type.Property> getProperties()
public void addProperty(String name,
String variable,
String value)
name and value. The value is what the
property must be in order to be collected.
name - the name of the property.variable - the optional variable name in which the contents of this
property's value should be stored within a template.value - the option value the property must be in order to be considered valid.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||