|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.andromda.core.namespace.PropertyDefinition
public class PropertyDefinition
Represents a property definition.
| Constructor Summary | |
|---|---|
PropertyDefinition()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getDefaultValue()
Gets the default for this property definition. |
java.lang.String |
getName()
Gets the name of this property definition. |
boolean |
isRequired()
Indicates of this property is required, by default this flag is true. |
void |
setDefaultValue(java.lang.String defaultValue)
Sets the default for the property definition. |
void |
setName(java.lang.String name)
Sets the name of this property definition. |
void |
setRequired(boolean required)
Sets this property is required, by default this flag is true. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PropertyDefinition()
| Method Detail |
|---|
public java.lang.String getName()
public void setName(java.lang.String name)
name - The name to set.public java.lang.String getDefaultValue()
public void setDefaultValue(java.lang.String defaultValue)
defaultValue - The defaultValue to set.public void setRequired(boolean required)
true.
required - true/falsepublic boolean isRequired()
true.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||