/// /// <summary> * (9) get attribute ErrorState </summary> /// * <returns> the value of the attribute </returns> /// public virtual EnumErrorState getErrorState() { return(EnumErrorState.getEnum(getAttribute(AttributeName.ERRORSTATE, null, null))); }
static JDFAutoPreflightReport() { atrInfoTable[0] = new AtrInfoTable(AttributeName.ERRORCOUNT, 0x22222211, AttributeInfo.EnumAttributeType.integer, null, null); atrInfoTable[1] = new AtrInfoTable(AttributeName.WARNINGCOUNT, 0x22222211, AttributeInfo.EnumAttributeType.integer, null, null); atrInfoTable[2] = new AtrInfoTable(AttributeName.ERRORSTATE, 0x33333311, AttributeInfo.EnumAttributeType.enumeration, EnumErrorState.getEnum(0), null); elemInfoTable[0] = new ElemInfoTable(ElementName.PREFLIGHTPARAMS, 0x55555511); elemInfoTable[1] = new ElemInfoTable(ElementName.PREFLIGHTREPORTRULEPOOL, 0x55555511); elemInfoTable[2] = new ElemInfoTable(ElementName.RUNLIST, 0x55555511); elemInfoTable[3] = new ElemInfoTable(ElementName.PRITEM, 0x33333311); }
// --------------------------------------------------------------------- // Methods for Attribute ErrorState // --------------------------------------------------------------------- /// /// <summary> * (5) set attribute ErrorState </summary> /// * <param name="enumVar">: the enumVar to set the attribute to </param> /// public virtual void setErrorState(EnumErrorState enumVar) { setAttribute(AttributeName.ERRORSTATE, enumVar == null ? null : enumVar.getName(), null); }