Пример #1
0
 static JDFNodeInfo()
 {
     atrInfoTable[0]  = new AtrInfoTable(AttributeName.CLEANUPDURATION, 0x33333333, AttributeInfo.EnumAttributeType.duration, null, null);
     atrInfoTable[1]  = new AtrInfoTable(AttributeName.DUELEVEL, 0x33333333, AttributeInfo.EnumAttributeType.enumeration, EnumDueLevel.getEnum(0), null);
     atrInfoTable[2]  = new AtrInfoTable(AttributeName.END, 0x33333333, AttributeInfo.EnumAttributeType.dateTime, null, null);
     atrInfoTable[3]  = new AtrInfoTable(AttributeName.FIRSTEND, 0x33333333, AttributeInfo.EnumAttributeType.dateTime, null, null);
     atrInfoTable[4]  = new AtrInfoTable(AttributeName.FIRSTSTART, 0x33333333, AttributeInfo.EnumAttributeType.dateTime, null, null);
     atrInfoTable[5]  = new AtrInfoTable(AttributeName.IPPVERSION, 0x33333331, AttributeInfo.EnumAttributeType.XYPair, null, null);
     atrInfoTable[6]  = new AtrInfoTable(AttributeName.JOBPRIORITY, 0x33333331, AttributeInfo.EnumAttributeType.integer, null, "50");
     atrInfoTable[7]  = new AtrInfoTable(AttributeName.LASTEND, 0x33333333, AttributeInfo.EnumAttributeType.dateTime, null, null);
     atrInfoTable[8]  = new AtrInfoTable(AttributeName.LASTSTART, 0x33333333, AttributeInfo.EnumAttributeType.dateTime, null, null);
     atrInfoTable[9]  = new AtrInfoTable(AttributeName.NATURALLANG, 0x33333331, AttributeInfo.EnumAttributeType.language, null, null);
     atrInfoTable[10] = new AtrInfoTable(AttributeName.MERGETARGET, 0x44444443, AttributeInfo.EnumAttributeType.boolean_, null, null);
     atrInfoTable[11] = new AtrInfoTable(AttributeName.ROUTE, 0x33333333, AttributeInfo.EnumAttributeType.URL, null, null);
     atrInfoTable[12] = new AtrInfoTable(AttributeName.RREFS, 0x44444433, AttributeInfo.EnumAttributeType.IDREFS, null, null);
     atrInfoTable[13] = new AtrInfoTable(AttributeName.SETUPDURATION, 0x33333333, AttributeInfo.EnumAttributeType.duration, null, null);
     atrInfoTable[14] = new AtrInfoTable(AttributeName.START, 0x33333333, AttributeInfo.EnumAttributeType.dateTime, null, null);
     atrInfoTable[15] = new AtrInfoTable(AttributeName.TARGETROUTE, 0x33333333, AttributeInfo.EnumAttributeType.URL, null, null);
     atrInfoTable[16] = new AtrInfoTable(AttributeName.TOTALDURATION, 0x33333333, AttributeInfo.EnumAttributeType.duration, null, null);
     atrInfoTable[17] = new AtrInfoTable(AttributeName.NODESTATUS, 0x33333111, AttributeInfo.EnumAttributeType.enumeration, EnumNodeStatus.getEnum(0), null);
     atrInfoTable[18] = new AtrInfoTable(AttributeName.NODESTATUSDETAILS, 0x33333111, AttributeInfo.EnumAttributeType.string_, null, null);
     atrInfoTable[19] = new AtrInfoTable(AttributeName.WORKSTEPID, 0x33333111, AttributeInfo.EnumAttributeType.string_, null, null); // added
     // as
     // valid
     // for
     // 1.3
     elemInfoTable[0] = new ElemInfoTable(ElementName.BUSINESSINFO, 0x33333333);
     elemInfoTable[1] = new ElemInfoTable(ElementName.EMPLOYEE, 0x33333333);
     elemInfoTable[2] = new ElemInfoTable(ElementName.JMF, 0x33333333);
     elemInfoTable[3] = new ElemInfoTable(ElementName.MISDETAILS, 0x33333311);
     elemInfoTable[4] = new ElemInfoTable(ElementName.NOTIFICATIONFILTER, 0x33333311);
 }
Пример #2
0
 ///
 ///	 <summary> * Updater
 ///	 *  </summary>
 ///	 * <param name="AtrInfoTable"> [] attrInfo_update: table with element-specific attribute info </param>
 ///
 public virtual ElementInfo updateRemove(ElemInfoTable elemInfo_update)
 {
     if (elemInfo_update != null)
     {
         if (elementInfoTable.ContainsKey(elemInfo_update.getElementName()))
         {
             elementInfoTable.Remove(elemInfo_update.getElementName());
         }
     }
     return(this);
 }
Пример #3
0
 static JDFCustomerInfo()
 {
     atrInfoTable[0]  = new AtrInfoTable(AttributeName.BILLINGCODE, 0x33333333, AttributeInfo.EnumAttributeType.string_, null, null);
     atrInfoTable[1]  = new AtrInfoTable(AttributeName.CUSTOMERID, 0x33333333, AttributeInfo.EnumAttributeType.string_, null, null);
     atrInfoTable[2]  = new AtrInfoTable(AttributeName.CUSTOMERJOBNAME, 0x33333333, AttributeInfo.EnumAttributeType.string_, null, null);
     atrInfoTable[3]  = new AtrInfoTable(AttributeName.CUSTOMERORDERID, 0x33333333, AttributeInfo.EnumAttributeType.string_, null, null);
     atrInfoTable[4]  = new AtrInfoTable(AttributeName.CUSTOMERPROJECTID, 0x33333311, AttributeInfo.EnumAttributeType.string_, null, null);
     atrInfoTable[5]  = new AtrInfoTable(AttributeName.RREFS, 0x44444433, AttributeInfo.EnumAttributeType.IDREFS, null, null);
     elemInfoTable[0] = new ElemInfoTable(ElementName.COMPANY, 0x44444446);
     elemInfoTable[1] = new ElemInfoTable(ElementName.CONTACT, 0x33333331);
     elemInfoTable[2] = new ElemInfoTable(ElementName.CUSTOMERMESSAGE, 0x33333311);
 }
Пример #4
0
 static JDFPartAmount()
 {
     atrInfoTable_ToRemove[0]   = new AtrInfoTable(AttributeName.COMBINEDPROCESSINDEX, 0x33333331, AttributeInfo.EnumAttributeType.IntegerList, null, null);
     atrInfoTable_ToRemove[1]   = new AtrInfoTable(AttributeName.COMBINEDPROCESSTYPE, 0x44444443, AttributeInfo.EnumAttributeType.NMTOKEN, null, null);
     atrInfoTable_ToRemove[2]   = new AtrInfoTable(AttributeName.PIPEPROTOCOL, 0x33333331, AttributeInfo.EnumAttributeType.NMTOKEN, null, null);
     atrInfoTable_ToRemove[3]   = new AtrInfoTable(AttributeName.PROCESSUSAGE, 0x33333333, AttributeInfo.EnumAttributeType.string_, null, null);
     atrInfoTable_ToRemove[4]   = new AtrInfoTable(AttributeName.RSUBREF, 0x44444433, AttributeInfo.EnumAttributeType.IDREF, null, null);
     atrInfoTable_ToRemove[5]   = new AtrInfoTable(AttributeName.PIPEPARTIDKEYS, 0x33333333, AttributeInfo.EnumAttributeType.enumerations, EnumPartIDKey.getEnum(0), null);
     atrInfoTable_ToRemove[6]   = new AtrInfoTable(AttributeName.RREF, 0x22222222, AttributeInfo.EnumAttributeType.IDREF, null, null);
     atrInfoTable_ToRemove[7]   = new AtrInfoTable(AttributeName.USAGE, 0x22222222, AttributeInfo.EnumAttributeType.enumeration, EnumUsage.getEnum(0), null);
     elemInfoTable_ToRemove[0]  = new ElemInfoTable(ElementName.AMOUNTPOOL, 0x66666661);
     elemInfoTable_ToReplace[0] = new ElemInfoTable(ElementName.PART, 0x22222221);
 }
Пример #5
0
        public virtual ElementInfo updateReplace(ElemInfoTable elemInfo_update)
        {
            if (elemInfo_update != null)
            {
                // if the table already contains this element, remove it first
                if (elementInfoTable.ContainsKey(elemInfo_update.getElementName()))
                {
                    elementInfoTable.Remove(elemInfo_update.getElementName());
                }

                elementInfoTable.Add(elemInfo_update.getElementName(), new ElemInfo(elemInfo_update.getValidityStatus()));
            }
            return(this);
        }
Пример #6
0
 ///
 ///	 <summary> * Updater
 ///	 *  </summary>
 ///	 * <param name="ElemInfoTable"> [] elemInfo_update: table with element-specific attribute info </param>
 ///
 public virtual ElementInfo updateAdd(ElemInfoTable elemInfo_update)
 {
     if (elemInfo_update != null)
     {
         if (!elementInfoTable.ContainsKey(elemInfo_update.getElementName()))
         {
             elementInfoTable.Add(elemInfo_update.getElementName(), new ElemInfo(elemInfo_update.getValidityStatus()));
         }
         else
         {
             // complain about duplicate element name
         }
     }
     return(this);
 }
Пример #7
0
 static JDFRefElement()
 {
     atrInfoTable[0]  = new AtrInfoTable(AttributeName.RSUBREF, 0x44444433, AttributeInfo.EnumAttributeType.IDREF, null, null);
     atrInfoTable[1]  = new AtrInfoTable(AttributeName.RREF, 0x22222222, AttributeInfo.EnumAttributeType.IDREF, null, null);
     elemInfoTable[0] = new ElemInfoTable(ElementName.PART, 0x33333331);
 }