|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PropertyType
Represents a property type of a meta-object. This is an additional abstraction on top of the Java Class object to provide more flexible subtyping. All PropertyTypes will have a base Java class that they sub-type or represent. This is useful as a fall-back when a more specific handler is not available. Additionally, PropertyTypes can be used to test an Object's membership in the type family.
Method Summary | |
---|---|
java.lang.Class |
getBaseClass()
Returns the Java class upon which this property type is based. |
java.util.Iterator |
getSuperTypes()
Returns an iterator containing all potential supertypes for this type. |
boolean |
isAssignableFrom(PropertyType type)
Returns true if the specified type is the same as or a subclass of this property type. |
boolean |
isInstance(java.lang.Object obj)
Returns true if the specified object is an instance of this type. |
Method Detail |
---|
java.lang.Class getBaseClass()
boolean isInstance(java.lang.Object obj)
boolean isAssignableFrom(PropertyType type)
java.util.Iterator getSuperTypes()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |