/// /// * <param name="icsLevel"> </param> /// protected internal virtual JDFCustomerInfo initCustomerInfo() { if (theParentNode != null) { //ORIGINAL LINE: final JDFCustomerInfo customerInfo = theParentNode.getCustomerInfo(); JDFCustomerInfo customerInfo = theParentNode.getCustomerInfo(); if (customerInfo != null) { theNode.linkResource(customerInfo, EnumUsage.Input, null); return(customerInfo); } } JDFCustomerInfo ci = theNode.getCreateCustomerInfo(); ci.setResStatus(EnumResStatus.Available, false); ci.setCustomerID("customerID"); ci.setCustomerJobName("customer job name"); ci.setCustomerOrderID("customerOrder_1"); JDFContact contact = ci.appendContact(); contact.makeRootResource(null, null, true); contact.setContactTypes(new VString("Customer Administrator", " ")); JDFPerson person = contact.appendPerson(); person.setFamilyName("Töpfer"); person.setFirstName("Harald"); JDFCompany comp = contact.appendCompany(); comp.setOrganizationName("The Pits"); return(ci); }
/// /// <summary> * (31) create inter-resource link to refTarget </summary> /// * <param name="refTarget"> the element that is referenced </param> /// public virtual void refCompany(JDFCompany refTarget) { refElement(refTarget); }