Skip to content

/AWS1/CL_MBCPROPOSALSUMMARY

Properties of a proposal.

Applies only to Hyperledger Fabric.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_proposalid TYPE /AWS1/MBCRESOURCEIDSTRING /AWS1/MBCRESOURCEIDSTRING

The unique identifier of the proposal.

iv_description TYPE /AWS1/MBCDESCRIPTIONSTRING /AWS1/MBCDESCRIPTIONSTRING

The description of the proposal.

iv_proposedbymemberid TYPE /AWS1/MBCRESOURCEIDSTRING /AWS1/MBCRESOURCEIDSTRING

The unique identifier of the member that created the proposal.

iv_proposedbymembername TYPE /AWS1/MBCNETWORKMEMBERNAMESTR /AWS1/MBCNETWORKMEMBERNAMESTR

The name of the member that created the proposal.

iv_status TYPE /AWS1/MBCPROPOSALSTATUS /AWS1/MBCPROPOSALSTATUS

The status of the proposal. Values are as follows:

  • IN_PROGRESS - The proposal is active and open for member voting.

  • APPROVED - The proposal was approved with sufficient YES votes among members according to the VotingPolicy specified for the Network. The specified proposal actions are carried out.

  • REJECTED - The proposal was rejected with insufficient YES votes among members according to the VotingPolicy specified for the Network. The specified ProposalActions aren't carried out.

  • EXPIRED - Members didn't cast the number of votes required to determine the proposal outcome before the proposal expired. The specified ProposalActions aren't carried out.

  • ACTION_FAILED - One or more of the specified ProposalActions in a proposal that was approved couldn't be completed because of an error.

iv_creationdate TYPE /AWS1/MBCTIMESTAMP /AWS1/MBCTIMESTAMP

The date and time that the proposal was created.

iv_expirationdate TYPE /AWS1/MBCTIMESTAMP /AWS1/MBCTIMESTAMP

The date and time that the proposal expires. This is the CreationDate plus the ProposalDurationInHours that is specified in the ProposalThresholdPolicy. After this date and time, if members haven't cast enough votes to determine the outcome according to the voting policy, the proposal is EXPIRED and Actions aren't carried out.

iv_arn TYPE /AWS1/MBCARNSTRING /AWS1/MBCARNSTRING

The Amazon Resource Name (ARN) of the proposal. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.


Queryable Attributes

ProposalId

The unique identifier of the proposal.

Accessible with the following methods

Method Description
GET_PROPOSALID() Getter for PROPOSALID, with configurable default
ASK_PROPOSALID() Getter for PROPOSALID w/ exceptions if field has no value
HAS_PROPOSALID() Determine if PROPOSALID has a value

Description

The description of the proposal.

Accessible with the following methods

Method Description
GET_DESCRIPTION() Getter for DESCRIPTION, with configurable default
ASK_DESCRIPTION() Getter for DESCRIPTION w/ exceptions if field has no value
HAS_DESCRIPTION() Determine if DESCRIPTION has a value

ProposedByMemberId

The unique identifier of the member that created the proposal.

Accessible with the following methods

Method Description
GET_PROPOSEDBYMEMBERID() Getter for PROPOSEDBYMEMBERID, with configurable default
ASK_PROPOSEDBYMEMBERID() Getter for PROPOSEDBYMEMBERID w/ exceptions if field has no
HAS_PROPOSEDBYMEMBERID() Determine if PROPOSEDBYMEMBERID has a value

ProposedByMemberName

The name of the member that created the proposal.

Accessible with the following methods

Method Description
GET_PROPOSEDBYMEMBERNAME() Getter for PROPOSEDBYMEMBERNAME, with configurable default
ASK_PROPOSEDBYMEMBERNAME() Getter for PROPOSEDBYMEMBERNAME w/ exceptions if field has n
HAS_PROPOSEDBYMEMBERNAME() Determine if PROPOSEDBYMEMBERNAME has a value

Status

The status of the proposal. Values are as follows:

  • IN_PROGRESS - The proposal is active and open for member voting.

  • APPROVED - The proposal was approved with sufficient YES votes among members according to the VotingPolicy specified for the Network. The specified proposal actions are carried out.

  • REJECTED - The proposal was rejected with insufficient YES votes among members according to the VotingPolicy specified for the Network. The specified ProposalActions aren't carried out.

  • EXPIRED - Members didn't cast the number of votes required to determine the proposal outcome before the proposal expired. The specified ProposalActions aren't carried out.

  • ACTION_FAILED - One or more of the specified ProposalActions in a proposal that was approved couldn't be completed because of an error.

Accessible with the following methods

Method Description
GET_STATUS() Getter for STATUS, with configurable default
ASK_STATUS() Getter for STATUS w/ exceptions if field has no value
HAS_STATUS() Determine if STATUS has a value

CreationDate

The date and time that the proposal was created.

Accessible with the following methods

Method Description
GET_CREATIONDATE() Getter for CREATIONDATE, with configurable default
ASK_CREATIONDATE() Getter for CREATIONDATE w/ exceptions if field has no value
HAS_CREATIONDATE() Determine if CREATIONDATE has a value

ExpirationDate

The date and time that the proposal expires. This is the CreationDate plus the ProposalDurationInHours that is specified in the ProposalThresholdPolicy. After this date and time, if members haven't cast enough votes to determine the outcome according to the voting policy, the proposal is EXPIRED and Actions aren't carried out.

Accessible with the following methods

Method Description
GET_EXPIRATIONDATE() Getter for EXPIRATIONDATE, with configurable default
ASK_EXPIRATIONDATE() Getter for EXPIRATIONDATE w/ exceptions if field has no valu
HAS_EXPIRATIONDATE() Determine if EXPIRATIONDATE has a value

Arn

The Amazon Resource Name (ARN) of the proposal. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.

Accessible with the following methods

Method Description
GET_ARN() Getter for ARN, with configurable default
ASK_ARN() Getter for ARN w/ exceptions if field has no value
HAS_ARN() Determine if ARN has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_PROPOSALSUMMARYLIST

TYPES TT_PROPOSALSUMMARYLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_MBCPROPOSALSUMMARY WITH DEFAULT KEY
.