Java API ReferenceClass Hierarchy | All Classes | All Fields and Methods

com.ibm.xtools.patterns.framework.java

Class PatternMetatype

+-- Object
      +-- AbstractPatternMetatype
            +-- PatternMetatype

public Class PatternMetatype
extends AbstractPatternMetatype

The pattern metatype class to use when dealing with Java classes and types.

Nested Class Summary:


Constructor summary
PatternMetatype(Class javaClass)

Constructs a new pattern metatype based on the given Java class instance.

Method summary
booleanequals(Object object)

IPatternMetatypegetIPatternMetatype()

Get an IPatternMetatype associated with this PatternMetatype.

inthashCode()

booleanisValidValue(Object object)

Determines if the object specified is a valid value for this metatype.

Objectremedy(Object value)

StringtoString()

Methods inherited from AbstractPatternMetatype
isValidValue

Constructor detail

PatternMetatype

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

equals

public boolean equals(Object object)

Parameters:

object
-

Returns:

true if ...

getIPatternMetatype

public IPatternMetatype getIPatternMetatype()

Get an IPatternMetatype associated with this PatternMetatype.

Returns:

the associated IPatternMetatype

hashCode

public int hashCode()

Returns:

Returns an int representing the ... value

isValidValue

public boolean isValidValue(Object object)

Determines if the object specified is a valid value for this metatype.

Overrides:
The isValidValue(Object) method in the AbstractPatternMetatype class.

Parameters:

object
-

Returns:

true if ...

remedy

public Object remedy(Object value)

Parameters:

value
-

Returns:

Return an Object.

toString

public String toString()

Returns:

Returns a String ...


Feedback