/// /// <summary> * (9) get attribute From </summary> /// * <returns> the value of the attribute </returns> /// public virtual EnumFrom getFrom() { return(EnumFrom.getEnum(getAttribute(AttributeName.FROM, null, null))); }
static JDFAutoFold() { atrInfoTable[0] = new AtrInfoTable(AttributeName.FROM, 0x22222221, AttributeInfo.EnumAttributeType.enumeration, EnumFrom.getEnum(0), null); atrInfoTable[1] = new AtrInfoTable(AttributeName.TO, 0x22222221, AttributeInfo.EnumAttributeType.enumeration, EnumTo.getEnum(0), null); atrInfoTable[2] = new AtrInfoTable(AttributeName.TRAVEL, 0x33333331, AttributeInfo.EnumAttributeType.double_, null, null); atrInfoTable[3] = new AtrInfoTable(AttributeName.RELATIVETRAVEL, 0x33333311, AttributeInfo.EnumAttributeType.double_, null, null); }
// ************************************************************************ // * Attribute getter / setter // * ************************************************************************ // // --------------------------------------------------------------------- // Methods for Attribute From // --------------------------------------------------------------------- /// /// <summary> * (5) set attribute From </summary> /// * <param name="enumVar">: the enumVar to set the attribute to </param> /// public virtual void setFrom(EnumFrom enumVar) { setAttribute(AttributeName.FROM, enumVar == null ? null : enumVar.getName(), null); }