|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Bean | |
|---|---|
| org.joda.beans | Base interfaces and annotations defining Joda-Beans. |
| org.joda.beans.impl | Base implementations of Joda-Bean interfaces. |
| org.joda.beans.impl.direct | Implementation of Joda-Beans designed for extension by the code generator. |
| org.joda.beans.impl.flexi | Implementation of Joda-Beans as a flexible map of data. |
| org.joda.beans.impl.map | Implementation of Joda-Beans extending a map. |
| org.joda.beans.impl.reflection | Implementation of Joda-Beans using reflection. |
| org.joda.beans.integrate.freemarker | Integration of Joda-Beans and Freemarker. |
| org.joda.beans.integrate.mongo | Integration of Joda-Beans and MongoDB. |
| org.joda.beans.query | Support for the BeanQuery interface. |
| org.joda.beans.ser.xml | Serialization of Joda-Beans using XML. |
| org.joda.beans.test | Utility to assist with testing and comparing Joda-Beans. |
| Uses of Bean in org.joda.beans |
|---|
| Classes in org.joda.beans with type parameters of type Bean | |
|---|---|
interface |
BeanBuilder<T extends Bean>
A builder for a bean, providing a safe way to create it. |
| Subinterfaces of Bean in org.joda.beans | |
|---|---|
interface |
DynamicBean
A dynamic bean that allows properties to be added and removed. |
interface |
ImmutableBean
An immutable bean consisting of a set of properties. |
| Methods in org.joda.beans with type parameters of type Bean | ||
|---|---|---|
|
Property.bean()
Gets the bean which owns this property. |
|
static
|
JodaBeanUtils.clone(T original)
Clones a bean. |
|
| Methods in org.joda.beans that return Bean | |
|---|---|
Bean |
Bean.clone()
Clones this bean, returning an independent copy. |
| Methods in org.joda.beans that return types with arguments of type Bean | |
|---|---|
Class<? extends Bean> |
MetaBean.beanType()
Get the type of the bean represented as a Class. |
BeanBuilder<? extends Bean> |
MetaBean.builder()
Creates a bean builder that can be used to create an instance of this bean. |
static Comparator<Bean> |
JodaBeanUtils.comparator(BeanQuery<?> query,
boolean ascending)
Obtains a comparator for the specified bean query. |
static Comparator<Bean> |
JodaBeanUtils.comparatorAscending(BeanQuery<?> query)
Obtains an ascending comparator for the specified bean query. |
static Comparator<Bean> |
JodaBeanUtils.comparatorDescending(BeanQuery<?> query)
Obtains an descending comparator for the specified bean query. |
| Methods in org.joda.beans with parameters of type Bean | |
|---|---|
Property<P> |
MetaProperty.createProperty(Bean bean)
Creates a property that binds this meta-property to a specific bean. |
PropertyMap |
MetaBean.createPropertyMap(Bean bean)
Creates a map of properties for the specified bean. |
static boolean |
JodaBeanUtils.equalIgnoring(Bean bean1,
Bean bean2,
MetaProperty<?>... properties)
Checks if two beans are equal ignoring one or more properties. |
P |
MetaProperty.get(Bean bean)
Gets the value of the property for the specified bean. |
P |
BeanQuery.get(Bean bean)
Queries a value from the specified bean. |
String |
MetaProperty.getString(Bean bean)
Gets the value of the property for the specified bean converted to a string. |
String |
MetaProperty.getString(Bean bean,
org.joda.convert.StringConvert stringConvert)
Gets the value of the property for the specified bean converted to a string. |
static boolean |
JodaBeanUtils.propertiesEqual(Bean bean1,
Bean bean2)
Checks if the two beans have the same set of properties. |
static int |
JodaBeanUtils.propertiesHashCode(Bean bean)
Returns a hash code based on the set of properties on a bean. |
static String |
JodaBeanUtils.propertiesToString(Bean bean,
String prefix)
Returns a string describing the set of properties on a bean. |
P |
MetaProperty.put(Bean bean,
Object value)
Sets the value of the property on the associated bean and returns the previous value. |
void |
MetaProperty.set(Bean bean,
Object value)
Sets the value of the property on the specified bean. |
void |
MetaProperty.setString(Bean bean,
String value)
Sets the value of the property on the specified bean from a string by conversion. |
void |
MetaProperty.setString(Bean bean,
String value,
org.joda.convert.StringConvert stringConvert)
Sets the value of the property on the specified bean from a string by conversion. |
| Uses of Bean in org.joda.beans.impl |
|---|
| Classes in org.joda.beans.impl with type parameters of type Bean | |
|---|---|
class |
BasicBeanBuilder<T extends Bean>
Basic implementation of BeanBuilder that wraps a real bean. |
class |
BasicImmutableBeanBuilder<T extends Bean>
Basic implementation of BeanBuilder that wraps a MetaBean. |
class |
BufferingBeanBuilder<T extends Bean>
Implementation of BeanBuilder that buffers data in a local map. |
| Classes in org.joda.beans.impl that implement Bean | |
|---|---|
class |
BasicBean
Basic implementation of Bean intended for applications to subclass. |
| Methods in org.joda.beans.impl with type parameters of type Bean | ||
|---|---|---|
|
BasicProperty.bean()
|
|
| Methods in org.joda.beans.impl with parameters of type Bean | ||
|---|---|---|
Property<P> |
BasicMetaProperty.createProperty(Bean bean)
|
|
PropertyMap |
BasicMetaBean.createPropertyMap(Bean bean)
|
|
P |
StandaloneMetaProperty.get(Bean bean)
|
|
String |
BasicMetaProperty.getString(Bean bean)
|
|
String |
BasicMetaProperty.getString(Bean bean,
org.joda.convert.StringConvert stringConvert)
|
|
static BasicPropertyMap |
BasicPropertyMap.of(Bean bean)
Factory to create a property map avoiding duplicate generics. |
|
static
|
BasicProperty.of(Bean bean,
MetaProperty<P> metaProperty)
Factory to create a property avoiding duplicate generics. |
|
P |
BasicMetaProperty.put(Bean bean,
Object value)
|
|
void |
StandaloneMetaProperty.set(Bean bean,
Object value)
|
|
void |
BasicMetaProperty.setString(Bean bean,
String value)
|
|
void |
BasicMetaProperty.setString(Bean bean,
String value,
org.joda.convert.StringConvert stringConvert)
|
|
| Uses of Bean in org.joda.beans.impl.direct |
|---|
| Classes in org.joda.beans.impl.direct with type parameters of type Bean | |
|---|---|
class |
DirectBeanBuilder<T extends Bean>
A builder implementation designed for use by the code generator. |
class |
DirectFieldsBeanBuilder<T extends Bean>
A builder implementation designed for use by the code generator. |
| Classes in org.joda.beans.impl.direct that implement Bean | |
|---|---|
class |
DirectBean
A bean implementation designed for use by the code generator. |
| Methods in org.joda.beans.impl.direct with parameters of type Bean | |
|---|---|
P |
DirectMetaProperty.get(Bean bean)
|
protected Object |
DirectMetaBean.propertyGet(Bean bean,
String propertyName,
boolean quiet)
Gets the value of the property. |
protected void |
DirectMetaBean.propertySet(Bean bean,
String propertyName,
Object value,
boolean quiet)
Sets the value of the property. |
void |
DirectMetaProperty.set(Bean bean,
Object value)
|
protected void |
DirectMetaBean.validate(Bean bean)
Validates the values of the properties. |
| Uses of Bean in org.joda.beans.impl.flexi |
|---|
| Classes in org.joda.beans.impl.flexi that implement Bean | |
|---|---|
class |
FlexiBean
Implementation of a fully dynamic Bean. |
| Uses of Bean in org.joda.beans.impl.map |
|---|
| Classes in org.joda.beans.impl.map that implement Bean | |
|---|---|
class |
MapBean
Implementation of a fully dynamic Bean based on an exposed Map. |
| Uses of Bean in org.joda.beans.impl.reflection |
|---|
| Methods in org.joda.beans.impl.reflection with type parameters of type Bean | ||
|---|---|---|
static
|
ReflectiveMetaBean.of(Class<B> beanClass)
Factory to create a meta-bean avoiding duplicate generics. |
|
| Methods in org.joda.beans.impl.reflection that return types with arguments of type Bean | |
|---|---|
Class<? extends Bean> |
ReflectiveMetaBean.beanType()
|
BeanBuilder<Bean> |
ReflectiveMetaBean.builder()
|
| Methods in org.joda.beans.impl.reflection with parameters of type Bean | |
|---|---|
Property<P> |
ReflectiveMetaProperty.createProperty(Bean bean)
|
PropertyMap |
ReflectiveMetaBean.createPropertyMap(Bean bean)
|
P |
ReflectiveMetaProperty.get(Bean bean)
|
void |
ReflectiveMetaProperty.set(Bean bean,
Object value)
|
| Method parameters in org.joda.beans.impl.reflection with type arguments of type Bean | ||
|---|---|---|
static
|
ReflectiveMetaProperty.of(Class<? extends Bean> beanType,
String propertyName)
Factory to create a meta-property avoiding duplicate generics. |
|
| Uses of Bean in org.joda.beans.integrate.freemarker |
|---|
| Constructors in org.joda.beans.integrate.freemarker with parameters of type Bean | |
|---|---|
FreemarkerTemplateModel(Bean bean,
FreemarkerObjectWrapper wrapper)
Creates an instance of the model. |
|
| Uses of Bean in org.joda.beans.integrate.mongo |
|---|
| Constructors in org.joda.beans.integrate.mongo with parameters of type Bean | |
|---|---|
BeanMongoDBObject(Bean bean)
Creates an instance wrapping a bean. |
|
| Uses of Bean in org.joda.beans.query |
|---|
| Methods in org.joda.beans.query with parameters of type Bean | |
|---|---|
P |
ChainedBeanQuery.get(Bean bean)
|
| Method parameters in org.joda.beans.query with type arguments of type Bean | ||
|---|---|---|
static
|
ChainedBeanQuery.of(BeanQuery<? extends Bean> prop1,
BeanQuery<? extends Bean> prop2,
BeanQuery<? extends Bean> prop3,
BeanQuery<P> prop4)
Obtains a chained query from four queries. |
|
static
|
ChainedBeanQuery.of(BeanQuery<? extends Bean> prop1,
BeanQuery<? extends Bean> prop2,
BeanQuery<? extends Bean> prop3,
BeanQuery<P> prop4)
Obtains a chained query from four queries. |
|
static
|
ChainedBeanQuery.of(BeanQuery<? extends Bean> prop1,
BeanQuery<? extends Bean> prop2,
BeanQuery<? extends Bean> prop3,
BeanQuery<P> prop4)
Obtains a chained query from four queries. |
|
static
|
ChainedBeanQuery.of(BeanQuery<? extends Bean> prop1,
BeanQuery<? extends Bean> prop2,
BeanQuery<P> prop3)
Obtains a chained query from three queries. |
|
static
|
ChainedBeanQuery.of(BeanQuery<? extends Bean> prop1,
BeanQuery<? extends Bean> prop2,
BeanQuery<P> prop3)
Obtains a chained query from three queries. |
|
static
|
ChainedBeanQuery.of(BeanQuery<? extends Bean> prop1,
BeanQuery<P> prop2)
Obtains a chained query from two other queries. |
|
| Uses of Bean in org.joda.beans.ser.xml |
|---|
| Methods in org.joda.beans.ser.xml that return Bean | |
|---|---|
Bean |
JodaBeanXmlReader.read(InputStream input)
Reads and parses to a bean. |
Bean |
JodaBeanXmlReader.read(Reader input)
Reads and parses to a bean. |
Bean |
JodaBeanXmlReader.read(String input)
Reads and parses to a bean. |
| Methods in org.joda.beans.ser.xml with parameters of type Bean | |
|---|---|
String |
JodaBeanXmlWriter.write(Bean bean)
Writes the bean to a string. |
String |
JodaBeanXmlWriter.write(Bean bean,
boolean rootType)
Writes the bean to a string. |
StringBuilder |
JodaBeanXmlWriter.writeToBuilder(Bean bean)
Writes the bean to the StringBuilder. |
StringBuilder |
JodaBeanXmlWriter.writeToBuilder(Bean bean,
boolean rootType)
Writes the bean to the StringBuilder. |
| Uses of Bean in org.joda.beans.test |
|---|
| Methods in org.joda.beans.test with parameters of type Bean | |
|---|---|
static void |
BeanAssert.assertBeanEquals(Bean expected,
Bean actual)
Asserts that two beans are equal, providing a better error message. |
static void |
BeanAssert.assertBeanEquals(String message,
Bean expected,
Bean actual)
Asserts that two beans are equal, providing a better error message. |
static void |
BeanAssert.assertBeanEqualsFullDetail(Bean expected,
Bean actual)
Asserts that two beans are equal, providing a better error message. |
static void |
BeanAssert.assertBeanEqualsFullDetail(String message,
Bean expected,
Bean actual)
Asserts that two beans are equal, providing a better error message, with an unlimited number of errors reported. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||