java.lang.Object
io.github.mmm.bean.AbstractBean
io.github.mmm.bean.Bean
io.github.mmm.entity.bean.SimpleEntityBean
- All Implemented Interfaces:
ReadableBean,WritableBean,EntityBean,Entity,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
Implementation of
EntityBean as simple Bean.- Since:
- 1.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.github.mmm.value.ReadablePath
io.github.mmm.value.ReadablePath.PathBuilder -
Field Summary
FieldsFields inherited from interface io.github.mmm.entity.Entity
PROPERTY_NAME_IDFields inherited from interface io.github.mmm.bean.ReadableBean
PROPERTY_TYPE_ID, PROPERTY_TYPE_NAME, SUFFIX_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected EntityPropertyBuildersadd()protected StandardPropertyBuildersId()Methods inherited from class io.github.mmm.bean.Bean
getType, isPrototypeMethods inherited from class io.github.mmm.bean.AbstractBean
add, addProperty, copy, create, createProperty, getProperties, getProperty, getPropertyCount, isDynamic, isLockOwnerInternal, isReadOnly, isThreadSafe, newInstance, onPropertyAdded, parentPath, parentPath, pathSegment, pathSegment, requireDynamic, requireWritable, toString, writeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.github.mmm.property.AttributeReadOnly
isReadOnlyMethods inherited from interface io.github.mmm.entity.bean.EntityBean
getId, setIdMethods inherited from interface io.github.mmm.marshall.MarshallableObject
write, writeObjectMethods inherited from interface io.github.mmm.bean.ReadableBean
copy, doEquals, doToString, get, getPropertyCount, getPropertyNameForAlias, getType, isDynamic, isEqualTo, isPolymorphic, isPrototype, mapPropertyIds, newInstance, toString, validateMethods inherited from interface io.github.mmm.value.ReadablePath
parentPath, path, pathMethods inherited from interface io.github.mmm.marshall.UnmarshallableObject
readObjectMethods inherited from interface io.github.mmm.validation.Validatable
validateOrThrowMethods inherited from interface io.github.mmm.bean.WritableBean
addProperty, createProperty, createProperty, getOrCreateProperty, getOrCreateProperty, getProperties, getProperty, getRequiredProperty, pathSegment, pathSegment, read, set, set, set, setDynamicMethods inherited from interface io.github.mmm.value.WritablePath
parentPath
-
Field Details
-
Id
Thepropertywith theprimary key.
-
-
Constructor Details
-
SimpleEntityBean
public SimpleEntityBean()The constructor. -
SimpleEntityBean
The constructor.- Parameters:
idProperty- theID property.
-
-
Method Details
-
Id
- Specified by:
Idin interfaceEntityBean- Returns:
- the
propertywith theId(primary key) of this entity.
-
add
- Overrides:
addin classAbstractBean
-
createPropertyBuilders
- Overrides:
createPropertyBuildersin classAbstractBean
-