/// /// <summary> * (9) get attribute Reason </summary> /// * <returns> the value of the attribute </returns> /// public virtual EnumReason getReason() { return(EnumReason.getEnum(getAttribute(AttributeName.REASON, null, "ProcessResult"))); }
static JDFAutoResourceAudit() { atrInfoTable[0] = new AtrInfoTable(AttributeName.CONTENTSMODIFIED, 0x33333333, AttributeInfo.EnumAttributeType.boolean_, null, null); atrInfoTable[1] = new AtrInfoTable(AttributeName.NODESTATUS, 0x33333111, AttributeInfo.EnumAttributeType.enumeration, EnumNodeStatus.getEnum(0), null); atrInfoTable[2] = new AtrInfoTable(AttributeName.REASON, 0x33333331, AttributeInfo.EnumAttributeType.enumeration, EnumReason.getEnum(0), "ProcessResult"); elemInfoTable[0] = new ElemInfoTable(ElementName.MISDETAILS, 0x66666111); elemInfoTable[1] = new ElemInfoTable(ElementName.PART, 0x33333111); }
// --------------------------------------------------------------------- // Methods for Attribute Reason // --------------------------------------------------------------------- /// /// <summary> * (5) set attribute Reason </summary> /// * <param name="enumVar">: the enumVar to set the attribute to </param> /// public virtual void setReason(EnumReason enumVar) { setAttribute(AttributeName.REASON, enumVar == null ? null : enumVar.getName(), null); }