| java.lang.Object org.andromda.core.namespace.PropertyDefinition
PropertyDefinition | public class PropertyDefinition (Code) | | Represents a property definition.
author: Chad Brandon |
Method Summary | |
public String | getDefaultValue() Gets the default for this property definition. | public String | getName() Gets the name of this property definition. | public boolean | isRequired() Indicates of this property is required, by default
this flag is true . | public void | setDefaultValue(String defaultValue) Sets the default for the property definition. | public void | setName(String name) Sets the name of this property definition. | public void | setRequired(boolean required) Sets this property is required, by default
this flag is true . |
getDefaultValue | public String getDefaultValue()(Code) | | Gets the default for this property definition.
Returns the defaultValue. |
getName | public String getName()(Code) | | Gets the name of this property definition.
Returns the name. |
isRequired | public boolean isRequired()(Code) | | Indicates of this property is required, by default
this flag is true .
true/false |
setDefaultValue | public void setDefaultValue(String defaultValue)(Code) | | Sets the default for the property definition.
Parameters: defaultValue - The defaultValue to set. |
setName | public void setName(String name)(Code) | | Sets the name of this property definition.
Parameters: name - The name to set. |
setRequired | public void setRequired(boolean required)(Code) | | Sets this property is required, by default
this flag is true .
Parameters: required - true/false |
|
|