Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.progeeks.meta
Interface PropertyType  view PropertyType download PropertyType.java

All Known Implementing Classes:
ClassPropertyType, DeferredPropertyType, MetaClassPropertyType

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.

Version:
$Revision: 1.1 $

Method Summary
 java.lang.Class getBaseClass()
          Returns the Java class upon which this property type is based.
 boolean isInstance(java.lang.Object obj)
          Returns true if the specified object is an instance of this type.
 

Method Detail

getBaseClass

public java.lang.Class getBaseClass()
Returns the Java class upon which this property type is based.


isInstance

public boolean isInstance(java.lang.Object obj)
Returns true if the specified object is an instance of this type.