public class PropertyDefinition extends Object
Constructor and Description |
---|
PropertyDefinition() |
Modifier and Type | Method and Description |
---|---|
String |
getDefaultValue()
Gets the default for this property definition.
|
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(String defaultValue)
Sets the default for the property definition.
|
void |
setName(String name)
Sets the name of this property definition.
|
void |
setRequired(boolean required)
Sets this property is required, by default
this flag is
true . |
public PropertyDefinition()
public String getName()
public void setName(String name)
name
- The name to set.public String getDefaultValue()
public void setDefaultValue(String defaultValue)
defaultValue
- The defaultValue to set.public void setRequired(boolean required)
true
.required
- true/falsepublic boolean isRequired()
true
.Copyright © 2003–2014 AndroMDA.org. All rights reserved.