Namespace: OpenEdge.DataAdmin
Class
Sequence
Parent classes:
Inherits: OpenEdge.DataAdmin.Entity
Implements: OpenEdge.DataAdmin.ISequence, OpenEdge.DataAdmin.IDataAdminElement, OpenEdge.DataAdmin.IDataAdminSerializable

/* Copyright (c) 2011 by progress Software Corporation
/*
/* all rights reserved. no part of this program or document
/* may be reproduced in any form or by any means without
/* permission in writing from progress Software Corporation.
Purpose:Sequence class
Author(s):hdaniels




Method Summary
Options Name Purpose
OpenEdge.DataAdmin.Binding.IDataAdminModel CreateLocalContext () /* No local context needed - no child collections (yet...?) */

Constructor Summary
Options Name Purpose
Sequence (character)
Sequence (IDataAdminModel)
Sequence (IDataAdminModel, IRequestInfo)

Property Summary
Options Name Purpose
INT64 CurrentValue /* The current value for a shared (non Multi-tenant) sequence */
INT64 IncrementValue /** The increment value of the sequence */
INT64 InitialValue /** The initial value of the sequence */
LOGICAL IsCyclic /** Defines whether the sequence is cyclic or not */
LOGICAL IsMultiTenant /** Returns true if the sequence is multi-tenant enabled. Can only be edited before the sequence is created. */
INT64 MaximumValue /** The maximum value of the sequence */
INT64 MinimumValue /** The minimum value of the sequence */
OpenEdge.DataAdmin.ISchema Schema /** currently only PUB */
OpenEdge.DataAdmin.ISequenceValueMap SequenceValues /** Collection of all tenant sequence values for a Multi-tenant sequence Restricted access - Only a super tenant can see other sequence values for other tenants */


Method Detail
Top

OpenEdge.DataAdmin.Binding.IDataAdminModel CreateLocalContext ()

/* No local context needed - no child collections (yet...?)
Returns OpenEdge.DataAdmin.Binding.IDataAdminModel


Constructor Detail
Top

Sequence (character)

Parameters:
pname CHARACTER
Top

Sequence (IDataAdminModel)

Parameters:
pcntxt OpenEdge.DataAdmin.Binding.IDataAdminModel
Top

Sequence (IDataAdminModel, IRequestInfo)

Parameters:
pcntxt OpenEdge.DataAdmin.Binding.IDataAdminModel
preq OpenEdge.DataAdmin.IRequestInfo


Property Detail
Top

INT64 CurrentValue

/* The current value for a shared (non Multi-tenant) sequence
Returns INT64
Top

INT64 IncrementValue

Purpose: The increment value of the sequence
Returns INT64
Top

INT64 InitialValue

Purpose: The initial value of the sequence
Returns INT64
Top

LOGICAL IsCyclic

Purpose: Defines whether the sequence is cyclic or not
Returns LOGICAL
Top

LOGICAL IsMultiTenant

Purpose: Returns true if the sequence is multi-tenant enabled.
Can only be edited before the sequence is created.
Returns LOGICAL
Top

INT64 MaximumValue

Purpose: The maximum value of the sequence
Returns INT64
Top

INT64 MinimumValue

Purpose: The minimum value of the sequence
Returns INT64
Top

OpenEdge.DataAdmin.ISchema Schema

Purpose: currently only PUB
Returns OpenEdge.DataAdmin.ISchema
Top

OpenEdge.DataAdmin.ISequenceValueMap SequenceValues

Purpose: Collection of all tenant sequence values for a Multi-tenant sequence
Restricted access - Only a super tenant can see other sequence values for other tenants
Returns OpenEdge.DataAdmin.ISequenceValueMap


Copyright © 2017 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 11.7