Show / Hide Table of Contents

Class NSProjectTypeEntity

Carrier object for ProjectTypeEntity.

Syntax

Constructors

NSProjectTypeEntity()

Initializes a new instance of the NSProjectTypeEntity class.

Declaration
NSProjectTypeEntity

Methods

GetDeleted()

Carrier object for ProjectTypeEntity.

Declaration
Bool GetDeleted()
Returns
Type Description
Bool

0 -> record is active 1 -> record is 'deleted' and should not be shown in lists.

Examples
NSProjectTypeEntity thing;
Bool deleted = thing.GetDeleted();

GetDurationUnit()

Carrier object for ProjectTypeEntity.

Declaration
Integer GetDurationUnit()
Returns
Type Description
Integer

Units for the duration. See DurationUnit.

Examples
NSProjectTypeEntity thing;
Integer durationUnit = thing.GetDurationUnit();

GetHasGuide()

Carrier object for ProjectTypeEntity.

Declaration
Bool GetHasGuide()
Returns
Type Description
Bool

Does this project type have a guide attached.

Examples
NSProjectTypeEntity thing;
Bool hasGuide = thing.GetHasGuide();

GetIsAutoAdvance()

Carrier object for ProjectTypeEntity.

Declaration
Bool GetIsAutoAdvance()
Returns
Type Description
Bool

Does the project status advance automatically, when the last guided activity in a status is completed?

Examples
NSProjectTypeEntity thing;
Bool isAutoAdvance = thing.GetIsAutoAdvance();

GetName()

Carrier object for ProjectTypeEntity.

Declaration
String GetName()
Returns
Type Description
String

The list item.

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

GetProjectDuration()

Carrier object for ProjectTypeEntity.

Declaration
Integer GetProjectDuration()
Returns
Type Description
Integer

Expected duration of project, in given units.

Examples
NSProjectTypeEntity thing;
Integer projectDuration = thing.GetProjectDuration();

GetProjTypeId()

Carrier object for ProjectTypeEntity.

Declaration
Integer GetProjTypeId()
Returns
Type Description
Integer

Primary key.

Examples
NSProjectTypeEntity thing;
Integer projTypeId = thing.GetProjTypeId();

GetRank()

Carrier object for ProjectTypeEntity.

Declaration
Integer GetRank()
Returns
Type Description
Integer

Rank order.

Examples
NSProjectTypeEntity thing;
Integer rank = thing.GetRank();

GetStages()

Carrier object for ProjectTypeEntity.

Declaration
NSSelectableMDOListItem[] GetStages()
Returns
Type Description
NSSelectableMDOListItem[]

Stages (project statuses), those associated with this ProjType are selected.

Examples
NSProjectTypeEntity thing;
NSSelectableMDOListItem[] stages = thing.GetStages();

GetTooltip()

Carrier object for ProjectTypeEntity.

Declaration
String GetTooltip()
Returns
Type Description
String

Tooltip or other description.

Examples
NSProjectTypeEntity thing;
String tooltip = thing.GetTooltip();

SetDeleted(Bool)

Carrier object for ProjectTypeEntity.

Declaration
Void SetDeleted(Bool deleted)
Parameters
Type Name Description
Bool deleted

0 -> record is active 1 -> record is 'deleted' and should not be shown in lists.

Returns
Type Description
Void
Examples
NSProjectTypeEntity thing;
Bool deleted;
thing.SetDeleted(deleted);

SetDurationUnit(Integer)

Carrier object for ProjectTypeEntity.

Declaration
Void SetDurationUnit(Integer durationUnit)
Parameters
Type Name Description
Integer durationUnit

Units for the duration. See DurationUnit.

Returns
Type Description
Void
Examples
NSProjectTypeEntity thing;
Integer durationUnit;
thing.SetDurationUnit(durationUnit);

SetHasGuide(Bool)

Carrier object for ProjectTypeEntity.

Declaration
Void SetHasGuide(Bool hasGuide)
Parameters
Type Name Description
Bool hasGuide

Does this project type have a guide attached.

Returns
Type Description
Void
Examples
NSProjectTypeEntity thing;
Bool hasGuide;
thing.SetHasGuide(hasGuide);

SetIsAutoAdvance(Bool)

Carrier object for ProjectTypeEntity.

Declaration
Void SetIsAutoAdvance(Bool isAutoAdvance)
Parameters
Type Name Description
Bool isAutoAdvance

Does the project status advance automatically, when the last guided activity in a status is completed?

Returns
Type Description
Void
Examples
NSProjectTypeEntity thing;
Bool isAutoAdvance;
thing.SetIsAutoAdvance(isAutoAdvance);

SetName(String)

Carrier object for ProjectTypeEntity.

Declaration
Void SetName(String name)
Parameters
Type Name Description
String name

The list item.

Returns
Type Description
Void
Examples
NSProjectTypeEntity thing;
String name;
thing.SetName(name);

SetProjectDuration(Integer)

Carrier object for ProjectTypeEntity.

Declaration
Void SetProjectDuration(Integer projectDuration)
Parameters
Type Name Description
Integer projectDuration

Expected duration of project, in given units.

Returns
Type Description
Void
Examples
NSProjectTypeEntity thing;
Integer projectDuration;
thing.SetProjectDuration(projectDuration);

SetProjTypeId(Integer)

Carrier object for ProjectTypeEntity.

Declaration
Void SetProjTypeId(Integer projTypeId)
Parameters
Type Name Description
Integer projTypeId

Primary key.

Returns
Type Description
Void
Examples
NSProjectTypeEntity thing;
Integer projTypeId;
thing.SetProjTypeId(projTypeId);

SetRank(Integer)

Carrier object for ProjectTypeEntity.

Declaration
Void SetRank(Integer rank)
Parameters
Type Name Description
Integer rank

Rank order.

Returns
Type Description
Void
Examples
NSProjectTypeEntity thing;
Integer rank;
thing.SetRank(rank);

SetStages(NSSelectableMDOListItem[])

Carrier object for ProjectTypeEntity.

Declaration
Void SetStages(NSSelectableMDOListItem[] stages)
Parameters
Type Name Description
NSSelectableMDOListItem[] stages

Stages (project statuses), those associated with this ProjType are selected.

Returns
Type Description
Void
Examples
NSProjectTypeEntity thing;
NSSelectableMDOListItem[] stages;
thing.SetStages(stages);

SetTooltip(String)

Carrier object for ProjectTypeEntity.

Declaration
Void SetTooltip(String tooltip)
Parameters
Type Name Description
String tooltip

Tooltip or other description.

Returns
Type Description
Void
Examples
NSProjectTypeEntity thing;
String tooltip;
thing.SetTooltip(tooltip);
In This Article
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top