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 StringgetDefaultValue()default value of this parameterintgetMaxMultiplicity()Returns the maximal multiplicity of this parameter.intgetMinMultiplicity()Returns the minimal multiplicity of this parameter.StringgetType()Returns the type of this parameter.booleanisOrdered()true if this parameter is isOrderedbooleanisUnique()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:
trueif this parameter is isOrdered
-
isUnique
boolean isUnique()
true if this parameter is isUnique- Returns:
trueif 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)
-
-