P - the type of the property contentMetaProperty<P>DirectMetaProperty, StandaloneMetaPropertypublic abstract class BasicMetaProperty<P> extends java.lang.Object implements MetaProperty<P>
| Modifier | Constructor | Description |
|---|---|---|
protected |
BasicMetaProperty(java.lang.String propertyName) |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(java.lang.Object obj) |
Checks if this meta-property equals another.
|
int |
hashCode() |
Returns a suitable hash code.
|
java.lang.String |
name() |
Gets the property name.
|
java.lang.String |
toString() |
Returns a string that summarises the meta-property.
|
annotation, annotations, createProperty, declaringType, get, getString, getString, metaBean, propertyGenericType, propertyType, put, set, setString, setString, styleprotected BasicMetaProperty(java.lang.String propertyName)
propertyName - the property name, not emptypublic java.lang.String name()
MetaPropertyThe JavaBean style methods getFoo() and setFoo() will lead to a property name of 'foo' and so on.
name in interface MetaProperty<P>public boolean equals(java.lang.Object obj)
MetaPropertyThis compares the property name and declaring type. It does not compare the property or bean types.
equals in interface MetaProperty<P>equals in class java.lang.Objectobj - the other meta-property, null returns falsepublic int hashCode()
MetaPropertyhashCode in interface MetaProperty<P>hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2007–2018 Joda.org. All rights reserved.