PartnershipOp

public interface PartnershipOp

The PartnershipOperation is the signature interface for providing a clue that the implemented class should able to handle add/delete/update operation one or more kind of partnerships.

Author:Twinsen Tsang

Fields

ADD

int ADD

The constant field indicate the adding partnership operation *

DELETE

int DELETE

The constant field indicate the deleting partnership operation *

OP_LEN

int OP_LEN

The constant field indicate the total number of partnership operation enumeration. DO NOT USE. *

UPDATE

int UPDATE

The constant field indicate the update partnership operation *

Methods

getExecuteOperation

int getExecuteOperation()
Returns:Get the partnership operation type for execution.

setExecuteOperation

void setExecuteOperation(int op)

The interface contract indicate the partnership operation you want to execute to the realizing class. The op should be greater than zero and less than {@value #OP_LEN}.

Parameters:
  • op – The partnership operation type.