ID - type of the primary keyP - type of the entity@MappedSuperclass public abstract class AbstractTreeEntity<ID,P extends AbstractTreeEntity> extends AbstractEntity<ID>
| Constructor and Description |
|---|
AbstractTreeEntity() |
| Modifier and Type | Method and Description |
|---|---|
P |
addChild(P child) |
List<P> |
getChildren() |
P |
getParent() |
void |
setChildren(List<P> children) |
void |
setParent(P parent) |
equals, getId, getVersion, hashCode, setId, setVersionCopyright © 2017 Open Circle Solutions. All rights reserved.