- java.lang.Object
-
- io.github.mmm.bean.AbstractBean
-
- io.github.mmm.bean.Bean
-
- All Implemented Interfaces:
ReadableBean,WritableBean,io.github.mmm.marshall.MarshallableObject,io.github.mmm.marshall.Marshaller<Object>,io.github.mmm.marshall.Marshalling<Object>,io.github.mmm.marshall.MarshallingObject,io.github.mmm.marshall.UnmarshallableObject,io.github.mmm.marshall.Unmarshaller<Object>,io.github.mmm.property.AttributeReadOnly,io.github.mmm.validation.Validatable,io.github.mmm.value.ReadablePath,io.github.mmm.value.WritablePath
- Direct Known Subclasses:
DynamicBean
public class Bean extends AbstractBean
-
-
Field Summary
-
Fields inherited from interface io.github.mmm.bean.ReadableBean
PROPERTY_TYPE, SUFFIX_PROPERTY
-
-
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, isLockOwnerInternal, isReadOnly, isThreadSafe, newInstance, onPropertyAdded, path, path, 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.bean.ReadableBean
get, getPropertyNameForAlias, isEqualTo, isPolymorphic, validate, write
-
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()
-
-