Esempio n. 1
0
        ///
        ///	 <summary> *  </summary>
        ///
        private void initLayoutElementProductionParams()
        {
            JDFLayoutElementProductionParams lep = (JDFLayoutElementProductionParams)theNode.getCreateResource(ElementName.LAYOUTELEMENTPRODUCTIONPARAMS, EnumUsage.Input, 0);
            JDFBarcodeProductionParams       bp  = lep.getCreateLayoutElementPart(0).appendBarcodeProductionParams();
            JDFIdentificationField           idf = bp.appendIdentificationField();

            idf.setEncoding(EnumEncoding.Barcode);
            idf.setEncodingDetails("EAN");
            idf.setValue("123456");
        }
Esempio n. 2
0
        ///
        ///     <summary> * Get all IdentificationField from the current element
        ///     *  </summary>
        ///     * <returns> Collection<JDFIdentificationField> </returns>
        ///
        public virtual ICollection <JDFIdentificationField> getAllIdentificationField()
        {
            List <JDFIdentificationField> v = new List <JDFIdentificationField>();

            JDFIdentificationField kElem = (JDFIdentificationField)getFirstChildElement(ElementName.IDENTIFICATIONFIELD, null);

            while (kElem != null)
            {
                v.Add(kElem);

                kElem = (JDFIdentificationField)kElem.getNextSiblingElement(ElementName.IDENTIFICATIONFIELD, null);
            }

            return(v);
        }
Esempio n. 3
0
 ///
 ///      <summary> * (31) create inter-resource link to refTarget </summary>
 ///      * <param name="refTarget"> the element that is referenced </param>
 ///
 public virtual void refIdentificationField(JDFIdentificationField refTarget)
 {
     refElement(refTarget);
 }