|
IBM Rational Software Modeler Release 6.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.xtools.patterns.core.AbstractParameterArgument
com.ibm.xtools.patterns.framework.ParameterArgument
The ParameterArgument class provides a default implementation for the AbstractParameterArgument abstract class.
A ParameterArgument represents an argument value supplied for a parameter of a particular pattern.
ParameterArgument overrides equals
and hashCode
to ensure correct semantics for equality of parameter arguments.
Nested Class Summary |
Nested classes inherited from class com.ibm.xtools.patterns.core.AbstractParameterArgument |
AbstractParameterArgument.Pair |
Field Summary | |
protected IPatternMetatype |
metatype
The metatype for this argument |
Constructor Summary | |
ParameterArgument(Object value)
|
Method Summary | |
protected static IPatternMetatype |
computeType(Object value)
Compute the metatype for the given object. |
boolean |
equals(Object object)
|
String |
getImage()
Retrieves a readable image of the object supplied as the argument for the parameter. |
IPatternMetatype |
getMetatype()
Retrieves the metatype of the object supplied as the argument for the parameter. |
Object |
getValue()
Retrieves the object supplied as the argument for the parameter. |
int |
hashCode()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected final IPatternMetatype metatype
Constructor Detail |
public ParameterArgument(Object value)
Method Detail |
public Object getValue()
AbstractParameterArgument
Retrieves the object supplied as the argument for the parameter.
Use the getMetaType method to retrieve the metatype of the object.
getValue
in class AbstractParameterArgument
public IPatternMetatype getMetatype()
AbstractParameterArgument
Retrieves the metatype of the object supplied as the argument for the parameter.
Use the isValidArgumentType method to retrieve whether the object of a specific metatype is accepted as an argument of the parameter.
getMetatype
in class AbstractParameterArgument
public String getImage()
AbstractParameterArgument
Retrieves a readable image of the object supplied as the argument for the parameter.
getImage
in class AbstractParameterArgument
public boolean equals(Object object)
public int hashCode()
protected static IPatternMetatype computeType(Object value)
|
IBM Rational Software Modeler Release 6.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2004. All rights reserved.