- java.lang.Object
-
- io.github.mmm.bean.AbstractBean
-
- io.github.mmm.bean.Bean
-
- All Implemented Interfaces:
ReadableBean,WritableBean,MarshallableObject,Marshaller<Object>,Marshalling<Object>,MarshallingObject,UnmarshallableObject,Unmarshaller<Object>,Validatable
- Direct Known Subclasses:
DynamicBean,SimpleEntityBean
public class Bean extends AbstractBean
-
-
Field Summary
-
Fields inherited from interface io.github.mmm.bean.ReadableBean
PROPERTY_TYPE
-
-
Constructor Summary
Constructors Constructor Description Bean()The constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BeanTypegetType()booleanisPrototype()-
Methods inherited from class io.github.mmm.bean.AbstractBean
add, add, addProperty, copy, create, createProperty, createPropertyBuilders, getProperties, getProperty, getPropertyCount, isDynamic, isReadOnly, isThreadSafe, newInstance, onPropertyAdded, requireDynamic, requireWritable, toString, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.github.mmm.marshall.MarshallableObject
writeObject
-
Methods inherited from interface io.github.mmm.bean.ReadableBean
copy, get, getPropertyNameForAlias, isEqualTo, isPolymorphic, validate, write
-
Methods inherited from interface io.github.mmm.marshall.UnmarshallableObject
readObject
-
Methods inherited from interface io.github.mmm.bean.WritableBean
createProperty, getOrCreateProperty, getOrCreateProperty, getRequiredProperty, read, set, set, set
-
-
-
-
Method Detail
-
getType
public BeanType getType()
- Returns:
- the
BeanTypereflecting thisBean. - See Also:
VirtualBean.getType(),BeanClass
-
isPrototype
public final boolean isPrototype()
- Returns:
trueif thisBeanis aBeanClass,falseotherwise (it is a regular instance).- See Also:
BeanClass.getPrototype()
-
-