Class NSArchiveRestrictionGroup

Carrier for restriction group. Contains all the search restrictions for the group - that is, ArchiveRestrictionInfo - objects, including info such as rank and name.

Constructors

NSArchiveRestrictionGroup()

Initializes a new instance of the NSArchiveRestrictionGroup class.

Declaration

NSArchiveRestrictionGroup

Methods

GetDescription()

Declaration

String GetDescription()

Examples

NSArchiveRestrictionGroup thing;
String description = thing.GetDescription();

Returns

Type Description
String Description of group.

GetName()

Declaration

String GetName()

Examples

NSArchiveRestrictionGroup thing;
String name = thing.GetName();

Returns

Type Description
String The name of this criteria group.

GetRank()

Declaration

Integer GetRank()

Examples

NSArchiveRestrictionGroup thing;
Integer rank = thing.GetRank();

Returns

Type Description
Integer Rank order within this CriteriaModel.

GetRestrictions()

Declaration

NSArchiveRestrictionInfo[] GetRestrictions()

Examples

NSArchiveRestrictionGroup thing;
NSArchiveRestrictionInfo[] restrictions = thing.GetRestrictions();

Returns

Type Description
NSArchiveRestrictionInfo[] Array of NSArchiveRestrictionInfo restriction specifications.

SetDescription(String)

Declaration

Void SetDescription(String description)

Examples

NSArchiveRestrictionGroup thing;
String description;
thing.SetDescription(description);

Parameters

Type Name Description
String description Description of group.

Returns

Type Description
Void

SetName(String)

Declaration

Void SetName(String name)

Examples

NSArchiveRestrictionGroup thing;
String name;
thing.SetName(name);

Parameters

Type Name Description
String name The name of this criteria group.

Returns

Type Description
Void

SetRank(Integer)

Declaration

Void SetRank(Integer rank)

Examples

NSArchiveRestrictionGroup thing;
Integer rank;
thing.SetRank(rank);

Parameters

Type Name Description
Integer rank Rank order within this CriteriaModel.

Returns

Type Description
Void

SetRestrictions(NSArchiveRestrictionInfo[])

Declaration

Void SetRestrictions(NSArchiveRestrictionInfo[] restrictions)

Examples

NSArchiveRestrictionGroup thing;
NSArchiveRestrictionInfo[] restrictions;
thing.SetRestrictions(restrictions);

Parameters

Type Name Description
NSArchiveRestrictionInfo[] restrictions Array of NSArchiveRestrictionInfo restriction specifications.

Returns

Type Description
Void