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); }
static JDFAudit() { atrInfoTable[0] = new AtrInfoTable(AttributeName.AUTHOR, 0x33333333, AttributeInfo.EnumAttributeType.string_, null, null); atrInfoTable[1] = new AtrInfoTable(AttributeName.SPAWNID, 0x33333331, AttributeInfo.EnumAttributeType.NMTOKEN, null, null); atrInfoTable[2] = new AtrInfoTable(AttributeName.AGENTNAME, 0x33333311, AttributeInfo.EnumAttributeType.string_, null, null); atrInfoTable[3] = new AtrInfoTable(AttributeName.AGENTVERSION, 0x33333311, AttributeInfo.EnumAttributeType.string_, null, null); atrInfoTable[4] = new AtrInfoTable(AttributeName.ID, 0x33333311, AttributeInfo.EnumAttributeType.ID, null, null); atrInfoTable[5] = new AtrInfoTable(AttributeName.REFID, 0x33333311, AttributeInfo.EnumAttributeType.IDREF, null, null); atrInfoTable[6] = new AtrInfoTable(AttributeName.TIMESTAMP, 0x33333222, AttributeInfo.EnumAttributeType.dateTime, null, null); }
/// /// <summary> * Updater /// * </summary> /// * <param name="AtrInfoTable"> [] attrInfo_update: table with element-specific attribute info </param> /// public virtual AttributeInfo updateRemove(AtrInfoTable attrInfo_update) { if (attrInfo_update != null) { if (attribInfoTable.ContainsKey(attrInfo_update.getAttributeName())) { attribInfoTable.Remove(attrInfo_update.getAttributeName()); } } return(this); }
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); }
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); }
public virtual AttributeInfo updateReplace(AtrInfoTable attrInfo_update) { if (attrInfo_update != null) { // if the table already contains this key, remove it first if (attribInfoTable.ContainsKey(attrInfo_update.getAttributeName())) { attribInfoTable.Remove(attrInfo_update.getAttributeName()); } attribInfoTable.Add(attrInfo_update.getAttributeName(), attrInfo_update.getAtrInfo()); } return(this); }
/// /// <summary> * Updater /// * </summary> /// * <param name="AtrInfoTable"> [] attrInfo_update: table with element-specific attribute info </param> /// public virtual AttributeInfo updateAdd(AtrInfoTable attrInfo_update) { if (attrInfo_update != null) { if (!attribInfoTable.ContainsKey(attrInfo_update.getAttributeName())) { attribInfoTable.Add(attrInfo_update.getAttributeName(), attrInfo_update.getAtrInfo()); } else { // complain about duplicate attribute name } } return(this); }
public virtual AttributeInfo updateReplace(AtrInfoTable[] attrInfo_update) { if (attrInfo_update != null) { for (int i = 0; i < attrInfo_update.Length; i++) { AtrInfoTable attrInfoTable = attrInfo_update[i]; // if the table already contains this key, remove it first if (attribInfoTable.ContainsKey(attrInfoTable.getAttributeName())) { attribInfoTable.Remove(attrInfoTable.getAttributeName()); } attribInfoTable.Add(attrInfoTable.getAttributeName(), attrInfoTable.getAtrInfo()); } } return(this); }
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); }