/// /// <summary> * (9) get attribute GangPolicy </summary> /// * <returns> the value of the attribute </returns> /// public virtual EnumGangPolicy getGangPolicy() { return(EnumGangPolicy.getEnum(getAttribute(AttributeName.GANGPOLICY, null, null))); }
static JDFAutoQueueSubmissionParams() { atrInfoTable[0] = new AtrInfoTable(AttributeName.GANGNAME, 0x33333333, AttributeInfo.EnumAttributeType.NMTOKEN, null, null); atrInfoTable[1] = new AtrInfoTable(AttributeName.GANGPOLICY, 0x33333333, AttributeInfo.EnumAttributeType.enumeration, EnumGangPolicy.getEnum(0), null); atrInfoTable[2] = new AtrInfoTable(AttributeName.HOLD, 0x33333333, AttributeInfo.EnumAttributeType.boolean_, null, "false"); atrInfoTable[3] = new AtrInfoTable(AttributeName.NEXTQUEUEENTRYID, 0x33333333, AttributeInfo.EnumAttributeType.shortString, null, null); atrInfoTable[4] = new AtrInfoTable(AttributeName.PREVQUEUEENTRYID, 0x33333333, AttributeInfo.EnumAttributeType.shortString, null, null); atrInfoTable[5] = new AtrInfoTable(AttributeName.PRIORITY, 0x33333333, AttributeInfo.EnumAttributeType.integer, null, "1"); atrInfoTable[6] = new AtrInfoTable(AttributeName.REFID, 0x33333311, AttributeInfo.EnumAttributeType.NMTOKEN, null, null); atrInfoTable[7] = new AtrInfoTable(AttributeName.RETURNJMF, 0x33333311, AttributeInfo.EnumAttributeType.URL, null, null); atrInfoTable[8] = new AtrInfoTable(AttributeName.RETURNURL, 0x33333333, AttributeInfo.EnumAttributeType.URL, null, null); atrInfoTable[9] = new AtrInfoTable(AttributeName.URL, 0x22222222, AttributeInfo.EnumAttributeType.URL, null, null); atrInfoTable[10] = new AtrInfoTable(AttributeName.WATCHURL, 0x33333333, AttributeInfo.EnumAttributeType.URL, null, null); elemInfoTable[0] = new ElemInfoTable(ElementName.DISPOSITION, 0x66666611); }
// --------------------------------------------------------------------- // Methods for Attribute GangPolicy // --------------------------------------------------------------------- /// /// <summary> * (5) set attribute GangPolicy </summary> /// * <param name="enumVar">: the enumVar to set the attribute to </param> /// public virtual void setGangPolicy(EnumGangPolicy enumVar) { setAttribute(AttributeName.GANGPOLICY, enumVar == null ? null : enumVar.getName(), null); }