Beanpublic abstract class BasicBean extends java.lang.Object implements Bean
Bean intended for applications to subclass.
The subclass must to provide an implementation for Bean.metaBean().
This returns the complete definition of the bean at the meta level.
| Constructor | Description |
|---|---|
BasicBean() |
| Modifier and Type | Method | Description |
|---|---|---|
BasicBean |
clone() |
Clones this bean, returning an independent copy.
|
boolean |
equals(java.lang.Object obj) |
Checks if this bean equals another.
|
int |
hashCode() |
Returns a suitable hash code.
|
java.lang.String |
toString() |
Returns a string that summarises the bean.
|
metaBean, property, propertyNamespublic BasicBean clone()
clone in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
This compares the class and all the properties of the bean.
equals in class java.lang.Objectobj - the object to compare to, null returns falsepublic int hashCode()
The hash code is derived from all the properties of the bean.
hashCode in class java.lang.Objectpublic java.lang.String toString()
The string contains the class name and properties.
toString in class java.lang.ObjectCopyright © 2007–2018 Joda.org. All rights reserved.