/// /// <summary> * (9) get attribute CoreMaterial </summary> /// * <returns> the value of the attribute </returns> /// public virtual EnumCoreMaterial getCoreMaterial() { return(EnumCoreMaterial.getEnum(getAttribute(AttributeName.COREMATERIAL, null, null))); }
static JDFAutoThreadSewingParams() { atrInfoTable[0] = new AtrInfoTable(AttributeName.BLINDSTITCH, 0x33333333, AttributeInfo.EnumAttributeType.boolean_, null, "false"); atrInfoTable[1] = new AtrInfoTable(AttributeName.CASTINGMATERIAL, 0x33333333, AttributeInfo.EnumAttributeType.enumeration, EnumCastingMaterial.getEnum(0), null); atrInfoTable[2] = new AtrInfoTable(AttributeName.COREMATERIAL, 0x33333333, AttributeInfo.EnumAttributeType.enumeration, EnumCoreMaterial.getEnum(0), null); atrInfoTable[3] = new AtrInfoTable(AttributeName.GLUELINEREFSHEETS, 0x33333333, AttributeInfo.EnumAttributeType.IntegerList, null, null); atrInfoTable[4] = new AtrInfoTable(AttributeName.OFFSET, 0x33333331, AttributeInfo.EnumAttributeType.double_, null, null); atrInfoTable[5] = new AtrInfoTable(AttributeName.NEEDLEPOSITIONS, 0x33333333, AttributeInfo.EnumAttributeType.string_, null, null); atrInfoTable[6] = new AtrInfoTable(AttributeName.NUMBEROFNEEDLES, 0x33333333, AttributeInfo.EnumAttributeType.integer, null, null); atrInfoTable[7] = new AtrInfoTable(AttributeName.SEALING, 0x33333333, AttributeInfo.EnumAttributeType.boolean_, null, null); atrInfoTable[8] = new AtrInfoTable(AttributeName.SEWINGPATTERN, 0x33333333, AttributeInfo.EnumAttributeType.enumeration, EnumSewingPattern.getEnum(0), null); atrInfoTable[9] = new AtrInfoTable(AttributeName.THREADTHICKNESS, 0x33333333, AttributeInfo.EnumAttributeType.double_, null, null); atrInfoTable[10] = new AtrInfoTable(AttributeName.THREADBRAND, 0x33333333, AttributeInfo.EnumAttributeType.string_, null, null); elemInfoTable[0] = new ElemInfoTable(ElementName.GLUELINE, 0x33333333); }
// --------------------------------------------------------------------- // Methods for Attribute CoreMaterial // --------------------------------------------------------------------- /// /// <summary> * (5) set attribute CoreMaterial </summary> /// * <param name="enumVar">: the enumVar to set the attribute to </param> /// public virtual void setCoreMaterial(EnumCoreMaterial enumVar) { setAttribute(AttributeName.COREMATERIAL, enumVar == null ? null : enumVar.getName(), null); }