Example #1
0
 ///
 ///          <summary> * (9) get attribute ApprovalState </summary>
 ///          * <returns> the value of the attribute </returns>
 ///
 public virtual EnumApprovalState getApprovalState()
 {
     return(EnumApprovalState.getEnum(getAttribute(AttributeName.APPROVALSTATE, null, null)));
 }
Example #2
0
 static JDFAutoApprovalDetails()
 {
     atrInfoTable[0]  = new AtrInfoTable(AttributeName.APPROVALSTATE, 0x22222111, AttributeInfo.EnumAttributeType.enumeration, EnumApprovalState.getEnum(0), null);
     atrInfoTable[1]  = new AtrInfoTable(AttributeName.APPROVALSTATEDETAILS, 0x33333111, AttributeInfo.EnumAttributeType.string_, null, null);
     elemInfoTable[0] = new ElemInfoTable(ElementName.CONTACT, 0x66666111);
     elemInfoTable[1] = new ElemInfoTable(ElementName.FILESPEC, 0x66666111);
 }
Example #3
0
        // ************************************************************************
        // * Attribute getter / setter
        // * ************************************************************************
        //

        //         ---------------------------------------------------------------------
        //        Methods for Attribute ApprovalState
        //        ---------------------------------------------------------------------
        ///
        ///          <summary> * (5) set attribute ApprovalState </summary>
        ///          * <param name="enumVar">: the enumVar to set the attribute to </param>
        ///
        public virtual void setApprovalState(EnumApprovalState enumVar)
        {
            setAttribute(AttributeName.APPROVALSTATE, enumVar == null ? null : enumVar.getName(), null);
        }