I
- as Id typepublic interface IHierarchialReference<I>
HierarchialDomainObject
Modifier and Type | Field and Description |
---|---|
static Long |
ROOT
In some situations null is hard to figure if it represents NONE or Root (since Root does not have an Id);
providing a constant to refer to its intention.
|
Modifier and Type | Method and Description |
---|---|
String |
getHierarchy()
A String like: "rootId-nodeId-subnodeId-thisId"; gives the entire picture of
the hierarchy to this point.
|
I |
getId() |
String |
getName()
Unique Name to refer to the record
Id is an Auto generated number used by the system,
but is difficult for the outside world to get a handle on it.
|
I |
getParentId() |
void |
setHierarchy(String hierarchy)
A String like: "rootId-nodeId-subnodeId-thisId"; gives the entire picture of
the hierarchy to this point.
|
void |
setId(I id) |
void |
setName(String name)
Unique Name to refer to the record
Id is an Auto generated number used by the system,
but is difficult for the outside world to get a handle on it.
|
void |
setParentId(I parentId) |
static final Long ROOT
I getId()
void setId(I id)
String getName()
void setName(String name)
I getParentId()
void setParentId(I parentId)
String getHierarchy()
void setHierarchy(String hierarchy)
Copyright © 2018. All rights reserved.