|
||||||||||
| 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(java.lang.String name,
java.lang.String variable,
java.lang.String value)
Adds a property having the given name and value. |
java.lang.String |
getName()
Gets the name of this type (typically the fully qualified class name of the type). |
java.util.Collection |
getProperties()
Gets the properties defined for this type. |
void |
setName(java.lang.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 java.lang.String getName()
public void setName(java.lang.String name)
name - The name to set.public java.util.Collection getProperties()
public void addProperty(java.lang.String name,
java.lang.String variable,
java.lang.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 | |||||||||