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_ID
Fields inherited from interface io.github.mmm.entity.bean.EntityBean
META_KEY_COLUMN, META_KEY_TABLE
Fields inherited from interface io.github.mmm.bean.ReadableBean
SUFFIX_PROPERTY
-
Method Summary
Methods inherited from interface io.github.mmm.property.AttributeReadOnly
isReadOnly
Methods inherited from interface io.github.mmm.entity.bean.EntityBean
getId, getJavaClass, Id, setId
Methods inherited from interface io.github.mmm.marshall.MarshallableObject
writeObject
Methods inherited from interface io.github.mmm.bean.ReadableBean
copy, doEquals, doToString, get, getAliases, getPropertyCount, isDynamic, isEqual, isPolymorphic, isPrototype, mapPropertyIds, newInstance, toString, validate
Methods inherited from interface io.github.mmm.value.ReadablePath
parentPath, path, path, path
Methods inherited from interface io.github.mmm.marshall.UnmarshallableObject
readObject
Methods inherited from interface io.github.mmm.validation.Validatable
validateOrThrow
Methods inherited from interface io.github.mmm.bean.WritableBean
addProperty, asTypeKey, createProperty, defineIdMapping, getOrCreateProperty, getProperties, getProperty, getRequiredProperty, getType, pathSegment, pathSegment, read, set, set, setDynamic, write
Methods inherited from interface io.github.mmm.value.WritablePath
parentPath
-
Method Details
-
Parent
LinkProperty<T> Parent()- Returns:
- the parent node or
null
if this is the root node.
-