public class Parameter extends PropertyAwareObject implements IParameter
| Modifier and Type | Field and Description |
|---|---|
static String |
IMPLEMENTATION_DETAILS_CHANGED
Event - implementation details changed.
|
static String |
NAMED_CHANGED
Event - name changed.
|
static String |
TYPE_CHANGED
Event - type changed.
|
static String |
TYPE_IS_COLLECTION_CHANGED
Event - type collection indicator changed.
|
static String |
TYPE_NAME_CHANGED
Event - type name changed.
|
listeners| Modifier and Type | Method and Description |
|---|---|
void |
addImplementationDetail(IImplementationDetail detail) |
String |
getImplementationDetail(String label)
Get an implementation detail associated with the parameter, given its
label.
|
Collection<IImplementationDetail> |
getImplementationDetails()
Return all implementation details associated with the parameter.
|
String |
getName()
Return the parameter name.
|
NRLDataType |
getNRLDataType()
Return the NRL type of the parameter.
|
IModelElement |
getType()
Return the parameter type.
|
String |
getTypeName()
Return the type name as shown in the definition
|
boolean |
isTypeCollection()
Return true if the parameter type is a collection.
|
void |
removeImplementationDetail(IImplementationDetail detail) |
List<NRLError> |
resolveModelReferences(IModelCollection models)
Resolve all parameter type and return type references against models.
|
void |
setName(String name) |
void |
setNRLDataType(NRLDataType type)
Set the NRL type of the parameter.
|
void |
setType(IModelElement type)
Set the model type of the parameter.
|
void |
setTypeIsCollection(boolean isCollection)
Set a flag indicating whether the type is a collection type.
|
void |
setTypeName(String typeName)
Set the type name
|
addPropertyChangeListener, firePropertyChange, removePropertyChangeListenerpublic static final String NAMED_CHANGED
public static final String IMPLEMENTATION_DETAILS_CHANGED
public static final String TYPE_CHANGED
public static final String TYPE_IS_COLLECTION_CHANGED
public static final String TYPE_NAME_CHANGED
public Parameter()
public Parameter(Parameter other)
public void addImplementationDetail(IImplementationDetail detail)
public String getImplementationDetail(String label)
IParameter
See IImplementationDetail for more information.
getImplementationDetail in interface IParameterlabel - the labelpublic Collection<IImplementationDetail> getImplementationDetails()
IParameterIImplementationDetail for more
information.getImplementationDetails in interface IParameterIImplementationDetail objectspublic String getName()
IParametergetName in interface IParameterpublic NRLDataType getNRLDataType()
IParameterNRLDataType.UNKNOWN.getNRLDataType in interface IParameterpublic IModelElement getType()
IParameterIParameter.resolveModelReferences(IModelCollection) is called.getType in interface IParameterpublic String getTypeName()
IParametergetTypeName in interface IParameterpublic boolean isTypeCollection()
IParameterisTypeCollection in interface IParameterpublic List<NRLError> resolveModelReferences(IModelCollection models)
IParameterresolveModelReferences in interface IParametermodels - the modelspublic void removeImplementationDetail(IImplementationDetail detail)
public void setName(String name)
public void setNRLDataType(NRLDataType type)
IParametersetNRLDataType in interface IParametertype - the new typepublic void setType(IModelElement type)
IParametersetType in interface IParametertype - the new typepublic void setTypeIsCollection(boolean isCollection)
IParametersetTypeIsCollection in interface IParameterisCollection - true if the type is a collectionpublic void setTypeName(String typeName)
IParametersetTypeName in interface IParametertypeName - the nameCopyright © 2006-2013. All Rights Reserved.