|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.progeeks.meta.MetaClassPropertyType
public class MetaClassPropertyType
Property type implementation that represents a meta class object.
Constructor Summary | |
---|---|
MetaClassPropertyType(MetaClass type)
|
|
MetaClassPropertyType(java.lang.String typeName)
Constructs a new MetaClassPropertyType using the specified meta-class name passed to MetaClass.forName(). |
Method Summary | |
---|---|
protected boolean |
equals(MetaClassPropertyType obj)
|
boolean |
equals(java.lang.Object obj)
|
java.lang.Class |
getBaseClass()
Returns the Java class upon which this property type is based. |
MetaClass |
getMetaClass()
Returns the MetaClass to which this property type refers. |
java.util.Iterator |
getSuperTypes()
Returns an iterator containing all potential supertypes for this type. |
int |
hashCode()
|
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. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MetaClassPropertyType(MetaClass type)
public MetaClassPropertyType(java.lang.String typeName)
Method Detail |
---|
public java.lang.Class getBaseClass()
getBaseClass
in interface PropertyType
public boolean isInstance(java.lang.Object obj)
isInstance
in interface PropertyType
public MetaClass getMetaClass()
public boolean isAssignableFrom(PropertyType type)
isAssignableFrom
in interface PropertyType
public java.util.Iterator getSuperTypes()
getSuperTypes
in interface PropertyType
public int hashCode()
hashCode
in class java.lang.Object
protected boolean equals(MetaClassPropertyType obj)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |