|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.nrl.parser.operators.PropertyAwareObject
net.sourceforge.nrl.parser.operators.Parameter
public class Parameter
A default implementation of an operator parameter.
| Field Summary | |
|---|---|
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. |
| Fields inherited from class net.sourceforge.nrl.parser.operators.PropertyAwareObject |
|---|
listeners |
| Constructor Summary | |
|---|---|
Parameter()
|
|
Parameter(Parameter other)
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class net.sourceforge.nrl.parser.operators.PropertyAwareObject |
|---|
addPropertyChangeListener, firePropertyChange, removePropertyChangeListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public 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
| Constructor Detail |
|---|
public Parameter()
public Parameter(Parameter other)
| Method Detail |
|---|
public void addImplementationDetail(IImplementationDetail detail)
public String getImplementationDetail(String label)
IParameter
See IImplementationDetail for more information.
getImplementationDetail in interface IParameterlabel - the label
public Collection<IImplementationDetail> getImplementationDetails()
IParameterIImplementationDetail for more
information.
getImplementationDetails in interface IParameterIImplementationDetail objectspublic String getName()
IParameter
getName in interface IParameterpublic NRLDataType getNRLDataType()
IParameterNRLDataType.UNKNOWN.
getNRLDataType in interface IParameterpublic IModelElement getType()
IParameterIParameter.resolveModelReferences(IModelCollection) is called.
getType in interface IParameterpublic String getTypeName()
IParameter
getTypeName in interface IParameterpublic boolean isTypeCollection()
IParameter
isTypeCollection in interface IParameterpublic List<NRLError> resolveModelReferences(IModelCollection models)
IParameter
resolveModelReferences in interface IParametermodels - the models
public void removeImplementationDetail(IImplementationDetail detail)
public void setName(String name)
public void setNRLDataType(NRLDataType type)
IParameter
setNRLDataType in interface IParametertype - the new typepublic void setType(IModelElement type)
IParameter
setType in interface IParametertype - the new typepublic void setTypeIsCollection(boolean isCollection)
IParameter
setTypeIsCollection in interface IParameterisCollection - true if the type is a collectionpublic void setTypeName(String typeName)
IParameter
setTypeName in interface IParametertypeName - the name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||