Module io.github.mmm.entity.bean
Package io.github.mmm.entity.bean
Interface TreeNode<T extends TreeNode<T>>
- Type Parameters:
T- type of the tree-nodes.
- All Superinterfaces:
io.github.mmm.property.AttributeReadOnly,Entity,EntityBean,io.github.mmm.marshall.MarshallableObject,io.github.mmm.marshall.Marshaller<Object>,io.github.mmm.marshall.Marshalling<Object>,io.github.mmm.marshall.MarshallingObject,ReadableBean,io.github.mmm.value.ReadablePath,io.github.mmm.marshall.id.StructuredIdMappingObject,io.github.mmm.marshall.UnmarshallableObject,io.github.mmm.marshall.Unmarshaller<Object>,io.github.mmm.validation.Validatable,WritableBean,io.github.mmm.value.WritablePath
EntityBean that represents a node in a tree. The tree hierarchy is defined by the parent
relation.- 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
Fields inherited from interface io.github.mmm.entity.Entity
PROPERTY_NAME_IDFields inherited from interface io.github.mmm.entity.bean.EntityBean
META_KEY_COLUMN, META_KEY_TABLEFields inherited from interface io.github.mmm.bean.ReadableBean
SUFFIX_PROPERTY -
Method Summary
Methods inherited from interface io.github.mmm.property.AttributeReadOnly
isReadOnlyMethods inherited from interface io.github.mmm.entity.bean.EntityBean
getId, getJavaClass, Id, setIdMethods inherited from interface io.github.mmm.marshall.MarshallableObject
writeObjectMethods inherited from interface io.github.mmm.bean.ReadableBean
copy, doEquals, doToString, get, getAliases, getPropertyCount, isDynamic, isEqual, isPolymorphic, isPrototype, mapPropertyIds, newInstance, toString, validateMethods inherited from interface io.github.mmm.value.ReadablePath
parentPath, path, 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, asTypeKey, createProperty, defineIdMapping, getOrCreateProperty, getProperties, getProperty, getReadOnly, getRequiredProperty, getType, pathSegment, pathSegment, read, set, set, setDynamic, writeMethods inherited from interface io.github.mmm.value.WritablePath
parentPath
-
Method Details
-
Parent
LinkProperty<T> Parent()- Returns:
- the parent node or
nullif this is the root node.
-