/// /// <summary> * (9) get attribute RingSystem </summary> /// * <returns> the value of the attribute </returns> /// public virtual EnumRingSystem getRingSystem() { return(EnumRingSystem.getEnum(getAttribute(AttributeName.RINGSYSTEM, null, null))); }
static JDFAutoRingBindingParams() { atrInfoTable[0] = new AtrInfoTable(AttributeName.BINDERCOLOR, 0x33333333, AttributeInfo.EnumAttributeType.string_, null, null); atrInfoTable[1] = new AtrInfoTable(AttributeName.BINDERMATERIAL, 0x33333333, AttributeInfo.EnumAttributeType.NMTOKEN, null, null); atrInfoTable[2] = new AtrInfoTable(AttributeName.BINDERNAME, 0x33333333, AttributeInfo.EnumAttributeType.string_, null, null); atrInfoTable[3] = new AtrInfoTable(AttributeName.RINGDIAMETER, 0x33333333, AttributeInfo.EnumAttributeType.double_, null, null); atrInfoTable[4] = new AtrInfoTable(AttributeName.RINGMECHANIC, 0x33333333, AttributeInfo.EnumAttributeType.boolean_, null, null); atrInfoTable[5] = new AtrInfoTable(AttributeName.RINGSHAPE, 0x33333333, AttributeInfo.EnumAttributeType.NMTOKEN, null, null); atrInfoTable[6] = new AtrInfoTable(AttributeName.RINGSYSTEM, 0x44444443, AttributeInfo.EnumAttributeType.enumeration, EnumRingSystem.getEnum(0), null); atrInfoTable[7] = new AtrInfoTable(AttributeName.RIVETSEXPOSED, 0x33333333, AttributeInfo.EnumAttributeType.boolean_, null, null); atrInfoTable[8] = new AtrInfoTable(AttributeName.SPINECOLOR, 0x33333333, AttributeInfo.EnumAttributeType.string_, null, null); atrInfoTable[9] = new AtrInfoTable(AttributeName.SPINEWIDTH, 0x33333333, AttributeInfo.EnumAttributeType.double_, null, null); atrInfoTable[10] = new AtrInfoTable(AttributeName.VIEWBINDER, 0x33333333, AttributeInfo.EnumAttributeType.NMTOKEN, null, null); elemInfoTable[0] = new ElemInfoTable(ElementName.HOLEMAKINGPARAMS, 0x66666611); }
// --------------------------------------------------------------------- // Methods for Attribute RingSystem // --------------------------------------------------------------------- /// /// <summary> * (5) set attribute RingSystem </summary> /// * <param name="enumVar">: the enumVar to set the attribute to </param> /// public virtual void setRingSystem(EnumRingSystem enumVar) { setAttribute(AttributeName.RINGSYSTEM, enumVar == null ? null : enumVar.getName(), null); }