Esempio n. 1
0
 ///
 ///          <summary> * (9) get attribute Ownership </summary>
 ///          * <returns> the value of the attribute </returns>
 ///
 public virtual EnumOwnership getOwnership()
 {
     return(EnumOwnership.getEnum(getAttribute(AttributeName.OWNERSHIP, null, "Origin")));
 }
Esempio n. 2
0
 static JDFAutoDeliveryIntent()
 {
     atrInfoTable[0]   = new AtrInfoTable(AttributeName.ACCEPTED, 0x44444333, AttributeInfo.EnumAttributeType.boolean_, null, null);
     atrInfoTable[1]   = new AtrInfoTable(AttributeName.ADDITIONALAMOUNT, 0x44444311, AttributeInfo.EnumAttributeType.integer, null, null);
     atrInfoTable[2]   = new AtrInfoTable(AttributeName.OWNERSHIP, 0x33333333, AttributeInfo.EnumAttributeType.enumeration, EnumOwnership.getEnum(0), "Origin");
     atrInfoTable[3]   = new AtrInfoTable(AttributeName.BUYERACCOUNT, 0x33333333, AttributeInfo.EnumAttributeType.string_, null, null);
     atrInfoTable[4]   = new AtrInfoTable(AttributeName.PICKUP, 0x44444443, AttributeInfo.EnumAttributeType.boolean_, null, null);
     elemInfoTable[0]  = new ElemInfoTable(ElementName.DELIVERYCHARGE, 0x66666661);
     elemInfoTable[1]  = new ElemInfoTable(ElementName.EARLIEST, 0x66666666);
     elemInfoTable[2]  = new ElemInfoTable(ElementName.EARLIESTDURATION, 0x66666666);
     elemInfoTable[3]  = new ElemInfoTable(ElementName.METHOD, 0x66666666);
     elemInfoTable[4]  = new ElemInfoTable(ElementName.OVERAGE, 0x66666666);
     elemInfoTable[5]  = new ElemInfoTable(ElementName.REQUIRED, 0x66666666);
     elemInfoTable[6]  = new ElemInfoTable(ElementName.REQUIREDDURATION, 0x66666666);
     elemInfoTable[7]  = new ElemInfoTable(ElementName.RETURNMETHOD, 0x66666661);
     elemInfoTable[8]  = new ElemInfoTable(ElementName.SERVICELEVEL, 0x66666611);
     elemInfoTable[9]  = new ElemInfoTable(ElementName.SURPLUSHANDLING, 0x66666661);
     elemInfoTable[10] = new ElemInfoTable(ElementName.TRANSFER, 0x66666661);
     elemInfoTable[11] = new ElemInfoTable(ElementName.UNDERAGE, 0x66666666);
     elemInfoTable[12] = new ElemInfoTable(ElementName.COMPANY, 0x77777776);
     elemInfoTable[13] = new ElemInfoTable(ElementName.CONTACT, 0x33333331);
     elemInfoTable[14] = new ElemInfoTable(ElementName.DROPINTENT, 0x22222222);
     elemInfoTable[15] = new ElemInfoTable(ElementName.PRICING, 0x77777666);
 }