Show / Hide Table of Contents

Class NSHierarchyEntity

Syntax

Constructors

NSHierarchyEntity()

Initializes a new instance of the NSHierarchyEntity class.

Declaration
NSHierarchyEntity

Methods

GetChildren()

Declaration
NSHierarchyEntity[] GetChildren()
Returns
Type Description
NSHierarchyEntity[]

Sub-items, if any.

Examples
NSHierarchyEntity thing;
NSHierarchyEntity[] children = thing.GetChildren();

GetDomain()

Declaration
Integer GetDomain()
Returns
Type Description
Integer

Domain separating the different hierarchy. See Domain.

Examples
NSHierarchyEntity thing;
Integer domain = thing.GetDomain();

GetFullname()

Declaration
String GetFullname()
Returns
Type Description
String

The full name of this category, i.e. Foo/bar/test.

Examples
NSHierarchyEntity thing;
String fullname = thing.GetFullname();

GetHierarchyId()

Declaration
Integer GetHierarchyId()
Returns
Type Description
Integer

The primary key (auto-incremented).

Examples
NSHierarchyEntity thing;
Integer hierarchyId = thing.GetHierarchyId();

GetName()

Declaration
String GetName()
Returns
Type Description
String

Name of this hierarchy folder.

Examples
NSHierarchyEntity thing;
String name = thing.GetName();

GetParentId()

Declaration
Integer GetParentId()
Returns
Type Description
Integer

Parent table.

Examples
NSHierarchyEntity thing;
Integer parentId = thing.GetParentId();

GetRegistered()

Declaration
DateTime GetRegistered()
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
DateTime GetUpdated()
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
Type Name Description
NSHierarchyEntity[] children

Sub-items, if any.

Returns
Type Description
Void
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
Type Description
Void
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
Type Description
Void
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
Type Description
Void
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
Type Description
Void
Examples
NSHierarchyEntity thing;
String name;
thing.SetName(name);

SetParentId(Integer)

Declaration
Void SetParentId(Integer parentId)
Parameters
Type Name Description
Integer parentId

Parent table.

Returns
Type Description
Void
Examples
NSHierarchyEntity thing;
Integer parentId;
thing.SetParentId(parentId);

SetRegistered(DateTime)

Declaration
Void SetRegistered(DateTime registered)
Parameters
Type Name Description
DateTime registered

Registered when.

Returns
Type Description
Void
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
Type Description
Void
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
Type Description
Void
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
Type Description
Void
Examples
NSHierarchyEntity thing;
Integer updatedAssociateId;
thing.SetUpdatedAssociateId(updatedAssociateId);
In This Article
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top