|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.beanfabrics.meta.TypeInfo
public class TypeInfo
The TypeInfo
represents the structural meta data of a specific PresentationModel
class.
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.Class<? extends PresentationModel> |
getJavaType()
Returns the Java type of the model class. |
java.lang.String |
getName()
Returns the Java classname of the model class. |
java.util.Collection<PropertyInfo> |
getProperties()
Returns an unmodifiable collection of all properties belonging to in this type info. |
PropertyInfo |
getProperty(java.lang.String name)
Returns the PropertyInfo for the property with the given name. |
int |
hashCode()
|
boolean |
hasProperties()
Returns whether this type info contains any properties. |
boolean |
isAssignableFrom(TypeInfo otherTypeInfo)
Returns whether the Java type of this type info is assignable from the Java type of the given other type info. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public java.lang.Class<? extends PresentationModel> getJavaType()
public java.lang.String getName()
public java.util.Collection<PropertyInfo> getProperties()
public boolean hasProperties()
true
if this type info contains any properties, otherwise false
.public PropertyInfo getProperty(java.lang.String name)
PropertyInfo
for the property with the given name.
name
- the name of the property
PropertyInfo
for the property with the given name, or null
if this type info
contains no property with that name.public boolean isAssignableFrom(TypeInfo otherTypeInfo)
The result of this method is true
only if
this.getJavaType().isAssignableFrom(otherModelType.getJavaType())
.
otherTypeInfo
-
public int hashCode()
hashCode
in class java.lang.Object
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 |