| Java API Reference | Class Hierarchy | All Classes | All Fields and Methods |
com.ibm.xtools.patterns.framework.java
+-- Object +-- AbstractPatternMetatype +-- PatternMetatype
public Class PatternMetatype
extends AbstractPatternMetatype
The pattern metatype class to use when dealing with Java classes and types.
| Constructor summary |
|---|
| PatternMetatype(Class javaClass) Constructs a new pattern metatype based on the given Java class instance. |
| Method summary | |
|---|---|
| boolean | equals(Object object)
|
| IPatternMetatype | getIPatternMetatype() Get an IPatternMetatype associated with this PatternMetatype. |
| int | hashCode()
|
| boolean | isValidValue(Object object) Determines if the object specified is a valid value for this metatype. |
| Object | remedy(Object value) |
| String | toString()
|
| Methods inherited from AbstractPatternMetatype | |
|---|---|
| isValidValue | |
Constructor detail
public PatternMetatype(Class javaClass)
Constructs a new pattern metatype based on the given Java class instance.
Parameters:
| javaClass | - the Java class instance corresponding to the type this metatype class represents |
Method detail
public IPatternMetatype getIPatternMetatype()
Get an IPatternMetatype associated with this PatternMetatype.
Returns:
the associated IPatternMetatype |
public boolean isValidValue(Object object)
Determines if the object specified is a valid value for this metatype.
Parameters:
| object | - |
Returns:
true if ...
|