Package org.nuiton.eugene.models.object
Interface ObjectModelParameter
-
- All Superinterfaces:
ObjectModelElement
,WithTagValuesOrStereotypes
- All Known Subinterfaces:
ObjectModelAttribute
- All Known Implementing Classes:
ObjectModelAttributeImpl
,ObjectModelParameterImpl
public interface ObjectModelParameter extends ObjectModelElement
Abstraction for the parameter node of object model trees. This object presents all information concerning the given parameter. Created: 14 janv. 2004- Author:
- Cédric Pineau - pineau@codelutin.com
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDefaultValue()
default value of this parameterint
getMaxMultiplicity()
Returns the maximal multiplicity of this parameter.int
getMinMultiplicity()
Returns the minimal multiplicity of this parameter.String
getType()
Returns the type of this parameter.boolean
isOrdered()
true if this parameter is isOrderedboolean
isUnique()
true if this parameter is isUnique-
Methods inherited from interface org.nuiton.eugene.models.object.ObjectModelElement
getComments, getDeclaringElement, getDescription, getDocumentation, getName, getSourceDocumentation, isStatic
-
Methods inherited from interface org.nuiton.eugene.models.extension.tagvalue.WithTagValuesOrStereotypes
addStereotype, addTagValue, getStereotypes, getTagValue, getTagValues, hasStereotype, hasTagValue, removeStereotype, removeTagValue
-
-
-
-
Method Detail
-
getType
String getType()
Returns the type of this parameter.- Returns:
- the type of this parameter.
-
getMinMultiplicity
int getMinMultiplicity()
Returns the minimal multiplicity of this parameter. The-1
value means infinite.- Returns:
- the minimal multiplicity of this parameter.
-
getMaxMultiplicity
int getMaxMultiplicity()
Returns the maximal multiplicity of this parameter. The-1
value means infinite.- Returns:
- the maximal multiplicity of this parameter.
-
isOrdered
boolean isOrdered()
true if this parameter is isOrdered- Returns:
true
if this parameter is isOrdered
-
isUnique
boolean isUnique()
true if this parameter is isUnique- Returns:
true
if this parameter is isUnique
-
getDefaultValue
String getDefaultValue()
default value of this parameter- Returns:
- a String for the defaultValue (must be interpreted depending on the parameter type)
-
-