| Java API Reference | Class Hierarchy | All Classes | All Fields and Methods |
com.ibm.xtools.patterns.framework
+-- AbstractParameterArgument +-- ParameterArgument
public Class ParameterArgument
extends AbstractParameterArgument
Provides a default implementation for the AbstractParameterArgument abstract class.
A ParameterArgument represents an argument value supplied for a parameter of aparticular pattern.
The ParameterArgument overrides equals and hashCode to ensure correct semantics for equality of parameter arguments.
| Constructor summary |
|---|
| ParameterArgument(Object value) Represents the argument to be added for the parameter. |
| Method summary | |
|---|---|
| boolean | equals(Object object) Compares for equality through the default implementation of java.lang.Object.equals(Object). |
| String | getImage() Provides a string representing the image value. |
| IPatternMetatype | getMetatype() Provides the metatype value. |
| Object | getValue() Provides the current value. |
| int | hashCode() Provides the value. |
Constructor detail
public ParameterArgument(Object value)
Represents the argument to be added for the parameter.
Parameters:
| value | - The value of the argument. |
Method detail
public boolean equals(Object object)
Compares for equality through the default implementation of java.lang.Object.equals(Object).
Parameters:
| object | - The object to be compared. |
Returns:
A boolean value of true if the object is equal. Otherwise, it returns a value of false. |
public String getImage()
Provides a string representing the image value.
Returns:
A string representing the image value. |
public IPatternMetatype getMetatype()
Provides the metatype value.
Returns:
An IPatternMetatype object representing the metatype value. |