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