Class NSHierarchyEntity
Syntax
Constructors
NSHierarchyEntity()
Initializes a new instance of the NSHierarchyEntity class.
Declaration
Methods
GetChildren()
Declaration
NSHierarchyEntity[] GetChildren()
Returns
Examples
NSHierarchyEntity thing;
NSHierarchyEntity[] children = thing.GetChildren();
GetDomain()
Declaration
Returns
Type |
Description |
Integer |
Domain separating the different hierarchy. See Domain.
|
Examples
NSHierarchyEntity thing;
Integer domain = thing.GetDomain();
GetFullname()
Declaration
Returns
Type |
Description |
String |
The full name of this category, i.e. Foo/bar/test.
|
Examples
NSHierarchyEntity thing;
String fullname = thing.GetFullname();
GetHierarchyId()
Declaration
Returns
Type |
Description |
Integer |
The primary key (auto-incremented).
|
Examples
NSHierarchyEntity thing;
Integer hierarchyId = thing.GetHierarchyId();
GetName()
Declaration
Returns
Type |
Description |
String |
Name of this hierarchy folder.
|
Examples
NSHierarchyEntity thing;
String name = thing.GetName();
GetParentId()
Declaration
Returns
Type |
Description |
Integer |
Parent table.
|
Examples
NSHierarchyEntity thing;
Integer parentId = thing.GetParentId();
GetRegistered()
Declaration
Returns
Type |
Description |
DateTime |
Registered when.
|
Examples
NSHierarchyEntity thing;
DateTime registered = thing.GetRegistered();
GetRegisteredAssociateId()
Declaration
Integer GetRegisteredAssociateId()
Returns
Type |
Description |
Integer |
Registered by whom.
|
Examples
NSHierarchyEntity thing;
Integer registeredAssociateId = thing.GetRegisteredAssociateId();
GetUpdated()
Declaration
Returns
Type |
Description |
DateTime |
Last updated when.
|
Examples
NSHierarchyEntity thing;
DateTime updated = thing.GetUpdated();
GetUpdatedAssociateId()
Declaration
Integer GetUpdatedAssociateId()
Returns
Type |
Description |
Integer |
Last updated by whom.
|
Examples
NSHierarchyEntity thing;
Integer updatedAssociateId = thing.GetUpdatedAssociateId();
SetChildren(NSHierarchyEntity[])
Declaration
Void SetChildren(NSHierarchyEntity[] children)
Parameters
Returns
Examples
NSHierarchyEntity thing;
NSHierarchyEntity[] children;
thing.SetChildren(children);
SetDomain(Integer)
Declaration
Void SetDomain(Integer domain)
Parameters
Type |
Name |
Description |
Integer |
domain |
Domain separating the different hierarchy. See Domain.
|
Returns
Examples
NSHierarchyEntity thing;
Integer domain;
thing.SetDomain(domain);
SetFullname(String)
Declaration
Void SetFullname(String fullname)
Parameters
Type |
Name |
Description |
String |
fullname |
The full name of this category, i.e. Foo/bar/test.
|
Returns
Examples
NSHierarchyEntity thing;
String fullname;
thing.SetFullname(fullname);
SetHierarchyId(Integer)
Declaration
Void SetHierarchyId(Integer hierarchyId)
Parameters
Type |
Name |
Description |
Integer |
hierarchyId |
The primary key (auto-incremented).
|
Returns
Examples
NSHierarchyEntity thing;
Integer hierarchyId;
thing.SetHierarchyId(hierarchyId);
SetName(String)
Declaration
Void SetName(String name)
Parameters
Type |
Name |
Description |
String |
name |
Name of this hierarchy folder.
|
Returns
Examples
NSHierarchyEntity thing;
String name;
thing.SetName(name);
SetParentId(Integer)
Declaration
Void SetParentId(Integer parentId)
Parameters
Type |
Name |
Description |
Integer |
parentId |
Parent table.
|
Returns
Examples
NSHierarchyEntity thing;
Integer parentId;
thing.SetParentId(parentId);
SetRegistered(DateTime)
Declaration
Void SetRegistered(DateTime registered)
Parameters
Type |
Name |
Description |
DateTime |
registered |
Registered when.
|
Returns
Examples
NSHierarchyEntity thing;
DateTime registered;
thing.SetRegistered(registered);
SetRegisteredAssociateId(Integer)
Declaration
Void SetRegisteredAssociateId(Integer registeredAssociateId)
Parameters
Type |
Name |
Description |
Integer |
registeredAssociateId |
Registered by whom.
|
Returns
Examples
NSHierarchyEntity thing;
Integer registeredAssociateId;
thing.SetRegisteredAssociateId(registeredAssociateId);
SetUpdated(DateTime)
Declaration
Void SetUpdated(DateTime updated)
Parameters
Type |
Name |
Description |
DateTime |
updated |
Last updated when.
|
Returns
Examples
NSHierarchyEntity thing;
DateTime updated;
thing.SetUpdated(updated);
SetUpdatedAssociateId(Integer)
Declaration
Void SetUpdatedAssociateId(Integer updatedAssociateId)
Parameters
Type |
Name |
Description |
Integer |
updatedAssociateId |
Last updated by whom.
|
Returns
Examples
NSHierarchyEntity thing;
Integer updatedAssociateId;
thing.SetUpdatedAssociateId(updatedAssociateId);