text:
/**
 */
package CIM.IEC61968.PaymentMetering.impl;

import CIM.CIMPackage;

import CIM.IEC61968.AssetModels.AssetModelsPackage;

import CIM.IEC61968.AssetModels.impl.AssetModelsPackageImpl;

import CIM.IEC61968.Assets.AssetsPackage;

import CIM.IEC61968.Assets.impl.AssetsPackageImpl;

import CIM.IEC61968.Common.CommonPackage;

import CIM.IEC61968.Common.impl.CommonPackageImpl;

import CIM.IEC61968.Customers.CustomersPackage;

import CIM.IEC61968.Customers.impl.CustomersPackageImpl;

import CIM.IEC61968.IEC61968Package;

import CIM.IEC61968.LoadControl.LoadControlPackage;

import CIM.IEC61968.LoadControl.impl.LoadControlPackageImpl;

import CIM.IEC61968.Metering.MeteringPackage;

import CIM.IEC61968.Metering.impl.MeteringPackageImpl;

import CIM.IEC61968.PaymentMetering.PaymentMeteringFactory;
import CIM.IEC61968.PaymentMetering.PaymentMeteringPackage;

import CIM.IEC61968.WiresExt.WiresExtPackage;

import CIM.IEC61968.WiresExt.impl.WiresExtPackageImpl;

import CIM.IEC61968.Work.WorkPackage;

import CIM.IEC61968.Work.impl.WorkPackageImpl;

import CIM.IEC61968.impl.IEC61968PackageImpl;

import CIM.IEC61970.Contingency.ContingencyPackage;

import CIM.IEC61970.Contingency.impl.ContingencyPackageImpl;

import CIM.IEC61970.ControlArea.ControlAreaPackage;

import CIM.IEC61970.ControlArea.impl.ControlAreaPackageImpl;

import CIM.IEC61970.Core.CorePackage;

import CIM.IEC61970.Core.impl.CorePackageImpl;

import CIM.IEC61970.Domain.DomainPackage;

import CIM.IEC61970.Domain.impl.DomainPackageImpl;

import CIM.IEC61970.Equivalents.EquivalentsPackage;

import CIM.IEC61970.Equivalents.impl.EquivalentsPackageImpl;

import CIM.IEC61970.Generation.GenerationDynamics.GenerationDynamicsPackage;

import CIM.IEC61970.Generation.GenerationDynamics.impl.GenerationDynamicsPackageImpl;

import CIM.IEC61970.Generation.Production.ProductionPackage;

import CIM.IEC61970.Generation.Production.impl.ProductionPackageImpl;

import CIM.IEC61970.IEC61970Package;

import CIM.IEC61970.Informative.EnergyScheduling.EnergySchedulingPackage;

import CIM.IEC61970.Informative.EnergyScheduling.impl.EnergySchedulingPackageImpl;

import CIM.IEC61970.Informative.Financial.FinancialPackage;

import CIM.IEC61970.Informative.Financial.impl.FinancialPackageImpl;

import CIM.IEC61970.Informative.InfAssetModels.InfAssetModelsPackage;

import CIM.IEC61970.Informative.InfAssetModels.impl.InfAssetModelsPackageImpl;

import CIM.IEC61970.Informative.InfAssets.InfAssetsPackage;

import CIM.IEC61970.Informative.InfAssets.impl.InfAssetsPackageImpl;

import CIM.IEC61970.Informative.InfCommon.InfCommonPackage;

import CIM.IEC61970.Informative.InfCommon.impl.InfCommonPackageImpl;

import CIM.IEC61970.Informative.InfCore.InfCorePackage;

import CIM.IEC61970.Informative.InfCore.impl.InfCorePackageImpl;

import CIM.IEC61970.Informative.InfCustomers.InfCustomersPackage;

import CIM.IEC61970.Informative.InfCustomers.impl.InfCustomersPackageImpl;

import CIM.IEC61970.Informative.InfERPSupport.InfERPSupportPackage;

import CIM.IEC61970.Informative.InfERPSupport.impl.InfERPSupportPackageImpl;

import CIM.IEC61970.Informative.InfGMLSupport.InfGMLSupportPackage;

import CIM.IEC61970.Informative.InfGMLSupport.impl.InfGMLSupportPackageImpl;

import CIM.IEC61970.Informative.InfLoadControl.InfLoadControlPackage;

import CIM.IEC61970.Informative.InfLoadControl.impl.InfLoadControlPackageImpl;

import CIM.IEC61970.Informative.InfLocations.InfLocationsPackage;

import CIM.IEC61970.Informative.InfLocations.impl.InfLocationsPackageImpl;

import CIM.IEC61970.Informative.InfMetering.InfMeteringPackage;

import CIM.IEC61970.Informative.InfMetering.impl.InfMeteringPackageImpl;

import CIM.IEC61970.Informative.InfOperations.InfOperationsPackage;

import CIM.IEC61970.Informative.InfOperations.impl.InfOperationsPackageImpl;

import CIM.IEC61970.Informative.InfPaymentMetering.InfPaymentMeteringPackage;

import CIM.IEC61970.Informative.InfPaymentMetering.impl.InfPaymentMeteringPackageImpl;

import CIM.IEC61970.Informative.InfTypeAsset.InfTypeAssetPackage;

import CIM.IEC61970.Informative.InfTypeAsset.impl.InfTypeAssetPackageImpl;

import CIM.IEC61970.Informative.InfWork.InfWorkPackage;

import CIM.IEC61970.Informative.InfWork.impl.InfWorkPackageImpl;

import CIM.IEC61970.Informative.MarketOperations.MarketOperationsPackage;

import CIM.IEC61970.Informative.MarketOperations.impl.MarketOperationsPackageImpl;

import CIM.IEC61970.Informative.Reservation.ReservationPackage;

import CIM.IEC61970.Informative.Reservation.impl.ReservationPackageImpl;

import CIM.IEC61970.LoadModel.LoadModelPackage;

import CIM.IEC61970.LoadModel.impl.LoadModelPackageImpl;

import CIM.IEC61970.Meas.MeasPackage;

import CIM.IEC61970.Meas.impl.MeasPackageImpl;

import CIM.IEC61970.OperationalLimits.OperationalLimitsPackage;

import CIM.IEC61970.OperationalLimits.impl.OperationalLimitsPackageImpl;

import CIM.IEC61970.Outage.OutagePackage;

import CIM.IEC61970.Outage.impl.OutagePackageImpl;

import CIM.IEC61970.Protection.ProtectionPackage;

import CIM.IEC61970.Protection.impl.ProtectionPackageImpl;

import CIM.IEC61970.SCADA.SCADAPackage;

import CIM.IEC61970.SCADA.impl.SCADAPackageImpl;

import CIM.IEC61970.StateVariables.StateVariablesPackage;

import CIM.IEC61970.StateVariables.impl.StateVariablesPackageImpl;

import CIM.IEC61970.Topology.TopologyPackage;

import CIM.IEC61970.Topology.impl.TopologyPackageImpl;

import CIM.IEC61970.Wires.WiresPackage;

import CIM.IEC61970.Wires.impl.WiresPackageImpl;

import CIM.IEC61970.impl.IEC61970PackageImpl;

import CIM.PackageDependencies.PackageDependenciesPackage;

import CIM.PackageDependencies.impl.PackageDependenciesPackageImpl;

import CIM.impl.CIMPackageImpl;

import org.eclipse.emf.ecore.EAttribute;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EClassifier;
import org.eclipse.emf.ecore.EEnum;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EReference;

import org.eclipse.emf.ecore.impl.EPackageImpl;

/**
 *
 * An implementation of the model Package.
 *
 * @generated
 */
public class PaymentMeteringPackageImpl extends EPackageImpl implements PaymentMeteringPackage {
	/**
	 *
	 *
	 * @generated
	 */
	private EClass cashierEClass = null;

	/**
	 *
	 *
	 * @generated
	 */
	private EClass transactorEClass = null;

	/**
	 *
	 *
	 * @generated
	 */
	private EClass tariffProfileEClass = null;

	/**
	 *
	 *
	 * @generated
	 */
	private EClass merchantAgreementEClass = null;

	/**
	 *
	 *
	 * @generated
	 */
	private EClass vendorShiftEClass = null;

	/**
	 *
	 *
	 * @generated
	 */
	private EClass transactionEClass = null;

	/**
	 *
	 *
	 * @generated
	 */
	private EClass chequeEClass = null;

	/**
	 *
	 *
	 * @generated
	 */
	private EClass auxiliaryAgreementEClass = null;

	/**
	 *
	 *
	 * @generated
	 */
	private EClass shiftEClass = null;

	/**
	 *
	 *
	 * @generated
	 */
	private EClass consumptionTariffIntervalEClass = null;

	/**
	 *
	 *
	 * @generated
	 */
	private EClass receiptEClass = null;

	/**
	 *
	 *
	 * @generated
	 */
	private EClass dueEClass = null;

	/**
	 *
	 *
	 * @generated
	 */
	private EClass bankAccountDetailEClass = null;

	/**
	 *
	 *
	 * @generated
	 */
	private EClass lineDetailEClass = null;

	/**
	 *
	 *
	 * @generated
	 */
	private EClass serviceSupplierEClass = null;

	/**
	 *
	 *
	 * @generated
	 */
	private EClass accountMovementEClass = null;

	/**
	 *
	 *
	 * @generated
	 */
	private EClass pointOfSaleEClass = null;

	/**
	 *
	 *
	 * @generated
	 */
	private EClass auxiliaryAccountEClass = null;

	/**
	 *
	 *
	 * @generated
	 */
	private EClass chargeEClass = null;

	/**
	 *
	 *
	 * @generated
	 */
	private EClass accountingUnitEClass = null;

	/**
	 *
	 *
	 * @generated
	 */
	private EClass timeTariffIntervalEClass = null;

	/**
	 *
	 *
	 * @generated
	 */
	private EClass cashierShiftEClass = null;

	/**
	 *
	 *
	 * @generated
	 */
	private EClass merchantAccountEClass = null;

	/**
	 *
	 *
	 * @generated
	 */
	private EClass tenderEClass = null;

	/**
	 *
	 *
	 * @generated
	 */
	private EClass vendorEClass = null;

	/**
	 *
	 *
	 * @generated
	 */
	private EClass cardEClass = null;

	/**
	 *
	 *
	 * @generated
	 */
	private EEnum transactionKindEEnum = null;

	/**
	 *
	 *
	 * @generated
	 */
	private EEnum supplierKindEEnum = null;

	/**
	 *
	 *
	 * @generated
	 */
	private EEnum chargeKindEEnum = null;

	/**
	 *
	 *
	 * @generated
	 */
	private EEnum tenderKindEEnum = null;

	/**
	 *
	 *
	 * @generated
	 */
	private EEnum creditKindEEnum = null;

	/**
	 *
	 *
	 * @generated
	 */
	private EEnum chequeKindEEnum = null;

	/**
	 * Creates an instance of the model Package, registered with
	 * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
	 * package URI value.
	 *
Note: the correct way to create the package is via the static
	 * factory method {@link #init init()}, which also performs
	 * initialization of the package, or returns the registered package,
	 * if one already exists.
	 *
	 *
	 * @see org.eclipse.emf.ecore.EPackage.Registry
	 * @see CIM.IEC61968.PaymentMetering.PaymentMeteringPackage#eNS_URI
	 * @see #init()
	 * @generated
	 */
	private PaymentMeteringPackageImpl() {
		super(eNS_URI, PaymentMeteringFactory.eINSTANCE);
	}

	/**
	 *
	 *
	 * @generated
	 */
	private static boolean isInited = false;

	/**
	 * Creates, registers, and initializes the Package for this model, and for any others upon which it depends.
	 *
	 *
This method is used to initialize {@link PaymentMeteringPackage#eINSTANCE} when that field is accessed.
	 * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
	 *
	 *
	 * @see #eNS_URI
	 * @generated
	 */
	public static PaymentMeteringPackage init() {
		if (isInited) return (PaymentMeteringPackage)EPackage.Registry.INSTANCE.getEPackage(PaymentMeteringPackage.eNS_URI);

		// Obtain or create and register package
		PaymentMeteringPackageImpl thePaymentMeteringPackage = (PaymentMeteringPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof PaymentMeteringPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new PaymentMeteringPackageImpl());

		isInited = true;

		// Obtain or create and register interdependencies
		CIMPackageImpl theCIMPackage = (CIMPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CIMPackage.eNS_URI) instanceof CIMPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CIMPackage.eNS_URI) : CIMPackage.eINSTANCE);
		IEC61970PackageImpl theIEC61970Package = (IEC61970PackageImpl)(EPackage.Registry.INSTANCE.getEPackage(IEC61970Package.eNS_URI) instanceof IEC61970PackageImpl ? EPackage.Registry.INSTANCE.getEPackage(IEC61970Package.eNS_URI) : IEC61970Package.eINSTANCE);
		OperationalLimitsPackageImpl theOperationalLimitsPackage = (OperationalLimitsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(OperationalLimitsPackage.eNS_URI) instanceof OperationalLimitsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(OperationalLimitsPackage.eNS_URI) : OperationalLimitsPackage.eINSTANCE);
		EnergySchedulingPackageImpl theEnergySchedulingPackage = (EnergySchedulingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(EnergySchedulingPackage.eNS_URI) instanceof EnergySchedulingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EnergySchedulingPackage.eNS_URI) : EnergySchedulingPackage.eINSTANCE);
		InfERPSupportPackageImpl theInfERPSupportPackage = (InfERPSupportPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(InfERPSupportPackage.eNS_URI) instanceof InfERPSupportPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(InfERPSupportPackage.eNS_URI) : InfERPSupportPackage.eINSTANCE);
		InfAssetModelsPackageImpl theInfAssetModelsPackage = (InfAssetModelsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(InfAssetModelsPackage.eNS_URI) instanceof InfAssetModelsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(InfAssetModelsPackage.eNS_URI) : InfAssetModelsPackage.eINSTANCE);
		InfAssetsPackageImpl theInfAssetsPackage = (InfAssetsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(InfAssetsPackage.eNS_URI) instanceof InfAssetsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(InfAssetsPackage.eNS_URI) : InfAssetsPackage.eINSTANCE);
		InfGMLSupportPackageImpl theInfGMLSupportPackage = (InfGMLSupportPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(InfGMLSupportPackage.eNS_URI) instanceof InfGMLSupportPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(InfGMLSupportPackage.eNS_URI) : InfGMLSupportPackage.eINSTANCE);
		InfCorePackageImpl theInfCorePackage = (InfCorePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(InfCorePackage.eNS_URI) instanceof InfCorePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(InfCorePackage.eNS_URI) : InfCorePackage.eINSTANCE);
		MarketOperationsPackageImpl theMarketOperationsPackage = (MarketOperationsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(MarketOperationsPackage.eNS_URI) instanceof MarketOperationsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(MarketOperationsPackage.eNS_URI) : MarketOperationsPackage.eINSTANCE);
		InfOperationsPackageImpl theInfOperationsPackage = (InfOperationsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(InfOperationsPackage.eNS_URI) instanceof InfOperationsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(InfOperationsPackage.eNS_URI) : InfOperationsPackage.eINSTANCE);
		InfWorkPackageImpl theInfWorkPackage = (InfWorkPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(InfWorkPackage.eNS_URI) instanceof InfWorkPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(InfWorkPackage.eNS_URI) : InfWorkPackage.eINSTANCE);
		InfPaymentMeteringPackageImpl theInfPaymentMeteringPackage = (InfPaymentMeteringPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(InfPaymentMeteringPackage.eNS_URI) instanceof InfPaymentMeteringPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(InfPaymentMeteringPackage.eNS_URI) : InfPaymentMeteringPackage.eINSTANCE);
		InfCommonPackageImpl theInfCommonPackage = (InfCommonPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(InfCommonPackage.eNS_URI) instanceof InfCommonPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(InfCommonPackage.eNS_URI) : InfCommonPackage.eINSTANCE);
		InfLocationsPackageImpl theInfLocationsPackage = (InfLocationsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(InfLocationsPackage.eNS_URI) instanceof InfLocationsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(InfLocationsPackage.eNS_URI) : InfLocationsPackage.eINSTANCE);
		FinancialPackageImpl theFinancialPackage = (FinancialPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(FinancialPackage.eNS_URI) instanceof FinancialPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(FinancialPackage.eNS_URI) : FinancialPackage.eINSTANCE);
		ReservationPackageImpl theReservationPackage = (ReservationPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ReservationPackage.eNS_URI) instanceof ReservationPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ReservationPackage.eNS_URI) : ReservationPackage.eINSTANCE);
		InfMeteringPackageImpl theInfMeteringPackage = (InfMeteringPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(InfMeteringPackage.eNS_URI) instanceof InfMeteringPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(InfMeteringPackage.eNS_URI) : InfMeteringPackage.eINSTANCE);
		InfCustomersPackageImpl theInfCustomersPackage = (InfCustomersPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(InfCustomersPackage.eNS_URI) instanceof InfCustomersPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(InfCustomersPackage.eNS_URI) : InfCustomersPackage.eINSTANCE);
		InfLoadControlPackageImpl theInfLoadControlPackage = (InfLoadControlPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(InfLoadControlPackage.eNS_URI) instanceof InfLoadControlPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(InfLoadControlPackage.eNS_URI) : InfLoadControlPackage.eINSTANCE);
		InfTypeAssetPackageImpl theInfTypeAssetPackage = (InfTypeAssetPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(InfTypeAssetPackage.eNS_URI) instanceof InfTypeAssetPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(InfTypeAssetPackage.eNS_URI) : InfTypeAssetPackage.eINSTANCE);
		MeasPackageImpl theMeasPackage = (MeasPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(MeasPackage.eNS_URI) instanceof MeasPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(MeasPackage.eNS_URI) : MeasPackage.eINSTANCE);
		GenerationDynamicsPackageImpl theGenerationDynamicsPackage = (GenerationDynamicsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(GenerationDynamicsPackage.eNS_URI) instanceof GenerationDynamicsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(GenerationDynamicsPackage.eNS_URI) : GenerationDynamicsPackage.eINSTANCE);
		ProductionPackageImpl theProductionPackage = (ProductionPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ProductionPackage.eNS_URI) instanceof ProductionPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ProductionPackage.eNS_URI) : ProductionPackage.eINSTANCE);
		SCADAPackageImpl theSCADAPackage = (SCADAPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SCADAPackage.eNS_URI) instanceof SCADAPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SCADAPackage.eNS_URI) : SCADAPackage.eINSTANCE);
		WiresPackageImpl theWiresPackage = (WiresPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(WiresPackage.eNS_URI) instanceof WiresPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(WiresPackage.eNS_URI) : WiresPackage.eINSTANCE);
		CorePackageImpl theCorePackage = (CorePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CorePackage.eNS_URI) instanceof CorePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CorePackage.eNS_URI) : CorePackage.eINSTANCE);
		StateVariablesPackageImpl theStateVariablesPackage = (StateVariablesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(StateVariablesPackage.eNS_URI) instanceof StateVariablesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(StateVariablesPackage.eNS_URI) : StateVariablesPackage.eINSTANCE);
		EquivalentsPackageImpl theEquivalentsPackage = (EquivalentsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(EquivalentsPackage.eNS_URI) instanceof EquivalentsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EquivalentsPackage.eNS_URI) : EquivalentsPackage.eINSTANCE);
		DomainPackageImpl theDomainPackage = (DomainPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(DomainPackage.eNS_URI) instanceof DomainPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DomainPackage.eNS_URI) : DomainPackage.eINSTANCE);
		LoadModelPackageImpl theLoadModelPackage = (LoadModelPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(LoadModelPackage.eNS_URI) instanceof LoadModelPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(LoadModelPackage.eNS_URI) : LoadModelPackage.eINSTANCE);
		ProtectionPackageImpl theProtectionPackage = (ProtectionPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ProtectionPackage.eNS_URI) instanceof ProtectionPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ProtectionPackage.eNS_URI) : ProtectionPackage.eINSTANCE);
		OutagePackageImpl theOutagePackage = (OutagePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(OutagePackage.eNS_URI) instanceof OutagePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(OutagePackage.eNS_URI) : OutagePackage.eINSTANCE);
		ControlAreaPackageImpl theControlAreaPackage = (ControlAreaPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ControlAreaPackage.eNS_URI) instanceof ControlAreaPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ControlAreaPackage.eNS_URI) : ControlAreaPackage.eINSTANCE);
		ContingencyPackageImpl theContingencyPackage = (ContingencyPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ContingencyPackage.eNS_URI) instanceof ContingencyPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ContingencyPackage.eNS_URI) : ContingencyPackage.eINSTANCE);
		TopologyPackageImpl theTopologyPackage = (TopologyPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TopologyPackage.eNS_URI) instanceof TopologyPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TopologyPackage.eNS_URI) : TopologyPackage.eINSTANCE);
		PackageDependenciesPackageImpl thePackageDependenciesPackage = (PackageDependenciesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(PackageDependenciesPackage.eNS_URI) instanceof PackageDependenciesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PackageDependenciesPackage.eNS_URI) : PackageDependenciesPackage.eINSTANCE);
		IEC61968PackageImpl theIEC61968Package = (IEC61968PackageImpl)(EPackage.Registry.INSTANCE.getEPackage(IEC61968Package.eNS_URI) instanceof IEC61968PackageImpl ? EPackage.Registry.INSTANCE.getEPackage(IEC61968Package.eNS_URI) : IEC61968Package.eINSTANCE);
		MeteringPackageImpl theMeteringPackage = (MeteringPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(MeteringPackage.eNS_URI) instanceof MeteringPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(MeteringPackage.eNS_URI) : MeteringPackage.eINSTANCE);
		WiresExtPackageImpl theWiresExtPackage = (WiresExtPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(WiresExtPackage.eNS_URI) instanceof WiresExtPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(WiresExtPackage.eNS_URI) : WiresExtPackage.eINSTANCE);
		CommonPackageImpl theCommonPackage = (CommonPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CommonPackage.eNS_URI) instanceof CommonPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CommonPackage.eNS_URI) : CommonPackage.eINSTANCE);
		AssetModelsPackageImpl theAssetModelsPackage = (AssetModelsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AssetModelsPackage.eNS_URI) instanceof AssetModelsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AssetModelsPackage.eNS_URI) : AssetModelsPackage.eINSTANCE);
		CustomersPackageImpl theCustomersPackage = (CustomersPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CustomersPackage.eNS_URI) instanceof CustomersPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CustomersPackage.eNS_URI) : CustomersPackage.eINSTANCE);
		LoadControlPackageImpl theLoadControlPackage = (LoadControlPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(LoadControlPackage.eNS_URI) instanceof LoadControlPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(LoadControlPackage.eNS_URI) : LoadControlPackage.eINSTANCE);
		AssetsPackageImpl theAssetsPackage = (AssetsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AssetsPackage.eNS_URI) instanceof AssetsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AssetsPackage.eNS_URI) : AssetsPackage.eINSTANCE);
		WorkPackageImpl theWorkPackage = (WorkPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(WorkPackage.eNS_URI) instanceof WorkPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(WorkPackage.eNS_URI) : WorkPackage.eINSTANCE);

		// Load packages
		theCIMPackage.loadPackage();

		// Fix loaded packages
		thePaymentMeteringPackage.fixPackageContents();
		theCIMPackage.fixPackageContents();
		theIEC61970Package.fixPackageContents();
		theOperationalLimitsPackage.fixPackageContents();
		theEnergySchedulingPackage.fixPackageContents();
		theInfERPSupportPackage.fixPackageContents();
		theInfAssetModelsPackage.fixPackageContents();
		theInfAssetsPackage.fixPackageContents();
		theInfGMLSupportPackage.fixPackageContents();
		theInfCorePackage.fixPackageContents();
		theMarketOperationsPackage.fixPackageContents();
		theInfOperationsPackage.fixPackageContents();
		theInfWorkPackage.fixPackageContents();
		theInfPaymentMeteringPackage.fixPackageContents();
		theInfCommonPackage.fixPackageContents();
		theInfLocationsPackage.fixPackageContents();
		theFinancialPackage.fixPackageContents();
		theReservationPackage.fixPackageContents();
		theInfMeteringPackage.fixPackageContents();
		theInfCustomersPackage.fixPackageContents();
		theInfLoadControlPackage.fixPackageContents();
		theInfTypeAssetPackage.fixPackageContents();
		theMeasPackage.fixPackageContents();
		theGenerationDynamicsPackage.fixPackageContents();
		theProductionPackage.fixPackageContents();
		theSCADAPackage.fixPackageContents();
		theWiresPackage.fixPackageContents();
		theCorePackage.fixPackageContents();
		theStateVariablesPackage.fixPackageContents();
		theEquivalentsPackage.fixPackageContents();
		theDomainPackage.fixPackageContents();
		theLoadModelPackage.fixPackageContents();
		theProtectionPackage.fixPackageContents();
		theOutagePackage.fixPackageContents();
		theControlAreaPackage.fixPackageContents();
		theContingencyPackage.fixPackageContents();
		theTopologyPackage.fixPackageContents();
		thePackageDependenciesPackage.fixPackageContents();
		theIEC61968Package.fixPackageContents();
		theMeteringPackage.fixPackageContents();
		theWiresExtPackage.fixPackageContents();
		theCommonPackage.fixPackageContents();
		theAssetModelsPackage.fixPackageContents();
		theCustomersPackage.fixPackageContents();
		theLoadControlPackage.fixPackageContents();
		theAssetsPackage.fixPackageContents();
		theWorkPackage.fixPackageContents();

		// Mark meta-data to indicate it can't be changed
		thePaymentMeteringPackage.freeze();

		// Update the registry and return the package
		EPackage.Registry.INSTANCE.put(PaymentMeteringPackage.eNS_URI, thePaymentMeteringPackage);
		return thePaymentMeteringPackage;
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EClass getCashier() {
		if (cashierEClass == null) {
			cashierEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(PaymentMeteringPackage.eNS_URI).getEClassifiers().get(0);
		}
		return cashierEClass;
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getCashier_CashierShifts() {
        return (EReference)getCashier().getEStructuralFeatures().get(0);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getCashier_ElectronicAddress() {
        return (EReference)getCashier().getEStructuralFeatures().get(1);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getCashier_Vendor() {
        return (EReference)getCashier().getEStructuralFeatures().get(2);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EClass getTransactor() {
		if (transactorEClass == null) {
			transactorEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(PaymentMeteringPackage.eNS_URI).getEClassifiers().get(1);
		}
		return transactorEClass;
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getTransactor_MerchantAccounts() {
        return (EReference)getTransactor().getEStructuralFeatures().get(0);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EClass getTariffProfile() {
		if (tariffProfileEClass == null) {
			tariffProfileEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(PaymentMeteringPackage.eNS_URI).getEClassifiers().get(2);
		}
		return tariffProfileEClass;
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getTariffProfile_TariffCycle() {
        return (EAttribute)getTariffProfile().getEStructuralFeatures().get(0);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getTariffProfile_TimeTariffIntervals() {
        return (EReference)getTariffProfile().getEStructuralFeatures().get(1);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getTariffProfile_Tariffs() {
        return (EReference)getTariffProfile().getEStructuralFeatures().get(2);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getTariffProfile_ConsumptionTariffIntervals() {
        return (EReference)getTariffProfile().getEStructuralFeatures().get(3);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EClass getMerchantAgreement() {
		if (merchantAgreementEClass == null) {
			merchantAgreementEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(PaymentMeteringPackage.eNS_URI).getEClassifiers().get(4);
		}
		return merchantAgreementEClass;
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getMerchantAgreement_MerchantAccounts() {
        return (EReference)getMerchantAgreement().getEStructuralFeatures().get(0);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EClass getVendorShift() {
		if (vendorShiftEClass == null) {
			vendorShiftEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(PaymentMeteringPackage.eNS_URI).getEClassifiers().get(7);
		}
		return vendorShiftEClass;
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getVendorShift_Receipts() {
        return (EReference)getVendorShift().getEStructuralFeatures().get(0);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getVendorShift_MerchantDebitAmount() {
        return (EAttribute)getVendorShift().getEStructuralFeatures().get(1);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getVendorShift_Vendor() {
        return (EReference)getVendorShift().getEStructuralFeatures().get(2);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getVendorShift_Transactions() {
        return (EReference)getVendorShift().getEStructuralFeatures().get(3);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getVendorShift_MerchantAccount() {
        return (EReference)getVendorShift().getEStructuralFeatures().get(4);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getVendorShift_Posted() {
        return (EAttribute)getVendorShift().getEStructuralFeatures().get(5);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EClass getTransaction() {
		if (transactionEClass == null) {
			transactionEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(PaymentMeteringPackage.eNS_URI).getEClassifiers().get(8);
		}
		return transactionEClass;
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getTransaction_Kind() {
        return (EAttribute)getTransaction().getEStructuralFeatures().get(0);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getTransaction_UserAttributes() {
        return (EReference)getTransaction().getEStructuralFeatures().get(1);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getTransaction_ServiceUnitsError() {
        return (EAttribute)getTransaction().getEStructuralFeatures().get(2);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getTransaction_ReversedId() {
        return (EAttribute)getTransaction().getEStructuralFeatures().get(3);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getTransaction_MeterAsset() {
        return (EReference)getTransaction().getEStructuralFeatures().get(4);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getTransaction_Line() {
        return (EReference)getTransaction().getEStructuralFeatures().get(5);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getTransaction_ReceiverReference() {
        return (EAttribute)getTransaction().getEStructuralFeatures().get(6);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getTransaction_DonorReference() {
        return (EAttribute)getTransaction().getEStructuralFeatures().get(7);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getTransaction_VendorShift() {
        return (EReference)getTransaction().getEStructuralFeatures().get(8);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getTransaction_CashierShift() {
        return (EReference)getTransaction().getEStructuralFeatures().get(9);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getTransaction_AuxiliaryAccount() {
        return (EReference)getTransaction().getEStructuralFeatures().get(10);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getTransaction_PricingStructure() {
        return (EReference)getTransaction().getEStructuralFeatures().get(11);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getTransaction_ServiceUnitsEnergy() {
        return (EAttribute)getTransaction().getEStructuralFeatures().get(12);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getTransaction_CustomerAccount() {
        return (EReference)getTransaction().getEStructuralFeatures().get(13);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getTransaction_Receipt() {
        return (EReference)getTransaction().getEStructuralFeatures().get(14);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getTransaction_DiverseReference() {
        return (EAttribute)getTransaction().getEStructuralFeatures().get(15);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EClass getCheque() {
		if (chequeEClass == null) {
			chequeEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(PaymentMeteringPackage.eNS_URI).getEClassifiers().get(9);
		}
		return chequeEClass;
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getCheque_MicrNumber() {
        return (EAttribute)getCheque().getEStructuralFeatures().get(0);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getCheque_Date() {
        return (EAttribute)getCheque().getEStructuralFeatures().get(1);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getCheque_ChequeNumber() {
        return (EAttribute)getCheque().getEStructuralFeatures().get(2);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getCheque_Kind() {
        return (EAttribute)getCheque().getEStructuralFeatures().get(3);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getCheque_BankAccountDetail() {
        return (EReference)getCheque().getEStructuralFeatures().get(4);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getCheque_Tender() {
        return (EReference)getCheque().getEStructuralFeatures().get(5);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EClass getAuxiliaryAgreement() {
		if (auxiliaryAgreementEClass == null) {
			auxiliaryAgreementEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(PaymentMeteringPackage.eNS_URI).getEClassifiers().get(10);
		}
		return auxiliaryAgreementEClass;
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getAuxiliaryAgreement_CustomerAgreement() {
        return (EReference)getAuxiliaryAgreement().getEStructuralFeatures().get(0);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getAuxiliaryAgreement_AuxCycle() {
        return (EAttribute)getAuxiliaryAgreement().getEStructuralFeatures().get(1);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getAuxiliaryAgreement_AuxRef() {
        return (EAttribute)getAuxiliaryAgreement().getEStructuralFeatures().get(2);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getAuxiliaryAgreement_SubCategory() {
        return (EAttribute)getAuxiliaryAgreement().getEStructuralFeatures().get(3);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getAuxiliaryAgreement_MinAmount() {
        return (EAttribute)getAuxiliaryAgreement().getEStructuralFeatures().get(4);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getAuxiliaryAgreement_VendPortion() {
        return (EAttribute)getAuxiliaryAgreement().getEStructuralFeatures().get(5);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getAuxiliaryAgreement_AuxPriorityCode() {
        return (EAttribute)getAuxiliaryAgreement().getEStructuralFeatures().get(6);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getAuxiliaryAgreement_ArrearsInterest() {
        return (EAttribute)getAuxiliaryAgreement().getEStructuralFeatures().get(7);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getAuxiliaryAgreement_FixedAmount() {
        return (EAttribute)getAuxiliaryAgreement().getEStructuralFeatures().get(8);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getAuxiliaryAgreement_PayCycle() {
        return (EAttribute)getAuxiliaryAgreement().getEStructuralFeatures().get(9);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getAuxiliaryAgreement_AuxiliaryAccounts() {
        return (EReference)getAuxiliaryAgreement().getEStructuralFeatures().get(10);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getAuxiliaryAgreement_VendPortionArrear() {
        return (EAttribute)getAuxiliaryAgreement().getEStructuralFeatures().get(11);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EClass getShift() {
		if (shiftEClass == null) {
			shiftEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(PaymentMeteringPackage.eNS_URI).getEClassifiers().get(12);
		}
		return shiftEClass;
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getShift_TransactionsGrandTotal() {
        return (EAttribute)getShift().getEStructuralFeatures().get(0);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getShift_ActivityInterval() {
        return (EReference)getShift().getEStructuralFeatures().get(1);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getShift_TransactionSummaries() {
        return (EReference)getShift().getEStructuralFeatures().get(2);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getShift_ReceiptsGrandTotalRounding() {
        return (EAttribute)getShift().getEStructuralFeatures().get(3);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getShift_TransactionsGrandTotalRounding() {
        return (EAttribute)getShift().getEStructuralFeatures().get(4);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getShift_ReceiptsGrandTotalNonBankable() {
        return (EAttribute)getShift().getEStructuralFeatures().get(5);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getShift_ReceiptsGrandTotalBankable() {
        return (EAttribute)getShift().getEStructuralFeatures().get(6);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getShift_ReceiptSummaries() {
        return (EReference)getShift().getEStructuralFeatures().get(7);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EClass getConsumptionTariffInterval() {
		if (consumptionTariffIntervalEClass == null) {
			consumptionTariffIntervalEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(PaymentMeteringPackage.eNS_URI).getEClassifiers().get(13);
		}
		return consumptionTariffIntervalEClass;
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getConsumptionTariffInterval_TariffProfiles() {
        return (EReference)getConsumptionTariffInterval().getEStructuralFeatures().get(0);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getConsumptionTariffInterval_SequenceNumber() {
        return (EAttribute)getConsumptionTariffInterval().getEStructuralFeatures().get(1);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getConsumptionTariffInterval_Charges() {
        return (EReference)getConsumptionTariffInterval().getEStructuralFeatures().get(2);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getConsumptionTariffInterval_StartValue() {
        return (EAttribute)getConsumptionTariffInterval().getEStructuralFeatures().get(3);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EClass getReceipt() {
		if (receiptEClass == null) {
			receiptEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(PaymentMeteringPackage.eNS_URI).getEClassifiers().get(14);
		}
		return receiptEClass;
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getReceipt_Transactions() {
        return (EReference)getReceipt().getEStructuralFeatures().get(0);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getReceipt_CashierShift() {
        return (EReference)getReceipt().getEStructuralFeatures().get(1);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getReceipt_Tenders() {
        return (EReference)getReceipt().getEStructuralFeatures().get(2);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getReceipt_VendorShift() {
        return (EReference)getReceipt().getEStructuralFeatures().get(3);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getReceipt_IsBankable() {
        return (EAttribute)getReceipt().getEStructuralFeatures().get(4);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getReceipt_Line() {
        return (EReference)getReceipt().getEStructuralFeatures().get(5);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EClass getDue() {
		if (dueEClass == null) {
			dueEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(PaymentMeteringPackage.eNS_URI).getEClassifiers().get(15);
		}
		return dueEClass;
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getDue_Interest() {
        return (EAttribute)getDue().getEStructuralFeatures().get(0);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getDue_Principle() {
        return (EAttribute)getDue().getEStructuralFeatures().get(1);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getDue_Current() {
        return (EAttribute)getDue().getEStructuralFeatures().get(2);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getDue_Arrears() {
        return (EAttribute)getDue().getEStructuralFeatures().get(3);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getDue_Charges() {
        return (EAttribute)getDue().getEStructuralFeatures().get(4);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EClass getBankAccountDetail() {
		if (bankAccountDetailEClass == null) {
			bankAccountDetailEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(PaymentMeteringPackage.eNS_URI).getEClassifiers().get(16);
		}
		return bankAccountDetailEClass;
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getBankAccountDetail_BankName() {
        return (EAttribute)getBankAccountDetail().getEStructuralFeatures().get(0);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getBankAccountDetail_AccountNumber() {
        return (EAttribute)getBankAccountDetail().getEStructuralFeatures().get(1);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getBankAccountDetail_HolderID() {
        return (EAttribute)getBankAccountDetail().getEStructuralFeatures().get(2);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getBankAccountDetail_BranchCode() {
        return (EAttribute)getBankAccountDetail().getEStructuralFeatures().get(3);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getBankAccountDetail_HolderName() {
        return (EAttribute)getBankAccountDetail().getEStructuralFeatures().get(4);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EClass getLineDetail() {
		if (lineDetailEClass == null) {
			lineDetailEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(PaymentMeteringPackage.eNS_URI).getEClassifiers().get(18);
		}
		return lineDetailEClass;
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getLineDetail_Rounding() {
        return (EAttribute)getLineDetail().getEStructuralFeatures().get(0);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getLineDetail_Amount() {
        return (EAttribute)getLineDetail().getEStructuralFeatures().get(1);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getLineDetail_DateTime() {
        return (EAttribute)getLineDetail().getEStructuralFeatures().get(2);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getLineDetail_Note() {
        return (EAttribute)getLineDetail().getEStructuralFeatures().get(3);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EClass getServiceSupplier() {
		if (serviceSupplierEClass == null) {
			serviceSupplierEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(PaymentMeteringPackage.eNS_URI).getEClassifiers().get(19);
		}
		return serviceSupplierEClass;
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getServiceSupplier_ServiceDeliveryPoints() {
        return (EReference)getServiceSupplier().getEStructuralFeatures().get(0);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getServiceSupplier_BankAccounts() {
        return (EReference)getServiceSupplier().getEStructuralFeatures().get(1);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getServiceSupplier_IssuerIdentificationNumber() {
        return (EAttribute)getServiceSupplier().getEStructuralFeatures().get(2);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getServiceSupplier_Kind() {
        return (EAttribute)getServiceSupplier().getEStructuralFeatures().get(3);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getServiceSupplier_CustomerAgreements() {
        return (EReference)getServiceSupplier().getEStructuralFeatures().get(4);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EClass getAccountMovement() {
		if (accountMovementEClass == null) {
			accountMovementEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(PaymentMeteringPackage.eNS_URI).getEClassifiers().get(20);
		}
		return accountMovementEClass;
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getAccountMovement_Reason() {
        return (EAttribute)getAccountMovement().getEStructuralFeatures().get(0);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getAccountMovement_Amount() {
        return (EAttribute)getAccountMovement().getEStructuralFeatures().get(1);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getAccountMovement_DateTime() {
        return (EAttribute)getAccountMovement().getEStructuralFeatures().get(2);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EClass getPointOfSale() {
		if (pointOfSaleEClass == null) {
			pointOfSaleEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(PaymentMeteringPackage.eNS_URI).getEClassifiers().get(21);
		}
		return pointOfSaleEClass;
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getPointOfSale_Tokens() {
        return (EReference)getPointOfSale().getEStructuralFeatures().get(0);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getPointOfSale_Location() {
        return (EAttribute)getPointOfSale().getEStructuralFeatures().get(1);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getPointOfSale_CashierShifts() {
        return (EReference)getPointOfSale().getEStructuralFeatures().get(2);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getPointOfSale_Vendor() {
        return (EReference)getPointOfSale().getEStructuralFeatures().get(3);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EClass getAuxiliaryAccount() {
		if (auxiliaryAccountEClass == null) {
			auxiliaryAccountEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(PaymentMeteringPackage.eNS_URI).getEClassifiers().get(22);
		}
		return auxiliaryAccountEClass;
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getAuxiliaryAccount_PaymentTransactions() {
        return (EReference)getAuxiliaryAccount().getEStructuralFeatures().get(0);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getAuxiliaryAccount_Due() {
        return (EReference)getAuxiliaryAccount().getEStructuralFeatures().get(1);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getAuxiliaryAccount_LastCredit() {
        return (EReference)getAuxiliaryAccount().getEStructuralFeatures().get(2);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getAuxiliaryAccount_PrincipleAmount() {
        return (EAttribute)getAuxiliaryAccount().getEStructuralFeatures().get(3);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getAuxiliaryAccount_AuxiliaryAgreement() {
        return (EReference)getAuxiliaryAccount().getEStructuralFeatures().get(4);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getAuxiliaryAccount_Charges() {
        return (EReference)getAuxiliaryAccount().getEStructuralFeatures().get(5);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getAuxiliaryAccount_LastDebit() {
        return (EReference)getAuxiliaryAccount().getEStructuralFeatures().get(6);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getAuxiliaryAccount_Balance() {
        return (EAttribute)getAuxiliaryAccount().getEStructuralFeatures().get(7);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EClass getCharge() {
		if (chargeEClass == null) {
			chargeEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(PaymentMeteringPackage.eNS_URI).getEClassifiers().get(23);
		}
		return chargeEClass;
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getCharge_AuxiliaryAccounts() {
        return (EReference)getCharge().getEStructuralFeatures().get(0);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getCharge_ParentCharge() {
        return (EReference)getCharge().getEStructuralFeatures().get(1);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getCharge_ConsumptionTariffIntervals() {
        return (EReference)getCharge().getEStructuralFeatures().get(2);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getCharge_ChildCharges() {
        return (EReference)getCharge().getEStructuralFeatures().get(3);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getCharge_Kind() {
        return (EAttribute)getCharge().getEStructuralFeatures().get(4);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getCharge_TimeTariffIntervals() {
        return (EReference)getCharge().getEStructuralFeatures().get(5);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getCharge_VariablePortion() {
        return (EAttribute)getCharge().getEStructuralFeatures().get(6);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getCharge_FixedPortion() {
        return (EReference)getCharge().getEStructuralFeatures().get(7);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EClass getAccountingUnit() {
		if (accountingUnitEClass == null) {
			accountingUnitEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(PaymentMeteringPackage.eNS_URI).getEClassifiers().get(24);
		}
		return accountingUnitEClass;
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getAccountingUnit_MonetaryUnit() {
        return (EAttribute)getAccountingUnit().getEStructuralFeatures().get(0);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getAccountingUnit_EnergyUnit() {
        return (EAttribute)getAccountingUnit().getEStructuralFeatures().get(1);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getAccountingUnit_Value() {
        return (EAttribute)getAccountingUnit().getEStructuralFeatures().get(2);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getAccountingUnit_Multiplier() {
        return (EAttribute)getAccountingUnit().getEStructuralFeatures().get(3);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EClass getTimeTariffInterval() {
		if (timeTariffIntervalEClass == null) {
			timeTariffIntervalEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(PaymentMeteringPackage.eNS_URI).getEClassifiers().get(25);
		}
		return timeTariffIntervalEClass;
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getTimeTariffInterval_StartDateTime() {
        return (EAttribute)getTimeTariffInterval().getEStructuralFeatures().get(0);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getTimeTariffInterval_SequenceNumber() {
        return (EAttribute)getTimeTariffInterval().getEStructuralFeatures().get(1);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getTimeTariffInterval_TariffProfiles() {
        return (EReference)getTimeTariffInterval().getEStructuralFeatures().get(2);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getTimeTariffInterval_Charges() {
        return (EReference)getTimeTariffInterval().getEStructuralFeatures().get(3);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EClass getCashierShift() {
		if (cashierShiftEClass == null) {
			cashierShiftEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(PaymentMeteringPackage.eNS_URI).getEClassifiers().get(26);
		}
		return cashierShiftEClass;
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getCashierShift_Cashier() {
        return (EReference)getCashierShift().getEStructuralFeatures().get(0);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getCashierShift_PointOfSale() {
        return (EReference)getCashierShift().getEStructuralFeatures().get(1);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getCashierShift_Receipts() {
        return (EReference)getCashierShift().getEStructuralFeatures().get(2);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getCashierShift_CashFloat() {
        return (EAttribute)getCashierShift().getEStructuralFeatures().get(3);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getCashierShift_Transactions() {
        return (EReference)getCashierShift().getEStructuralFeatures().get(4);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EClass getMerchantAccount() {
		if (merchantAccountEClass == null) {
			merchantAccountEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(PaymentMeteringPackage.eNS_URI).getEClassifiers().get(28);
		}
		return merchantAccountEClass;
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getMerchantAccount_BankStatements() {
        return (EReference)getMerchantAccount().getEStructuralFeatures().get(0);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getMerchantAccount_MerchantAgreement() {
        return (EReference)getMerchantAccount().getEStructuralFeatures().get(1);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getMerchantAccount_Transactors() {
        return (EReference)getMerchantAccount().getEStructuralFeatures().get(2);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getMerchantAccount_ProvisionalBalance() {
        return (EAttribute)getMerchantAccount().getEStructuralFeatures().get(3);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getMerchantAccount_CurrentBalance() {
        return (EAttribute)getMerchantAccount().getEStructuralFeatures().get(4);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getMerchantAccount_Vendors() {
        return (EReference)getMerchantAccount().getEStructuralFeatures().get(5);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getMerchantAccount_VendorShifts() {
        return (EReference)getMerchantAccount().getEStructuralFeatures().get(6);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EClass getTender() {
		if (tenderEClass == null) {
			tenderEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(PaymentMeteringPackage.eNS_URI).getEClassifiers().get(29);
		}
		return tenderEClass;
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getTender_Amount() {
        return (EAttribute)getTender().getEStructuralFeatures().get(0);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getTender_Change() {
        return (EAttribute)getTender().getEStructuralFeatures().get(1);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getTender_Kind() {
        return (EAttribute)getTender().getEStructuralFeatures().get(2);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getTender_Receipt() {
        return (EReference)getTender().getEStructuralFeatures().get(3);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getTender_Cheque() {
        return (EReference)getTender().getEStructuralFeatures().get(4);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getTender_Card() {
        return (EReference)getTender().getEStructuralFeatures().get(5);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EClass getVendor() {
		if (vendorEClass == null) {
			vendorEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(PaymentMeteringPackage.eNS_URI).getEClassifiers().get(30);
		}
		return vendorEClass;
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getVendor_PointOfSales() {
        return (EReference)getVendor().getEStructuralFeatures().get(0);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getVendor_Cashiers() {
        return (EReference)getVendor().getEStructuralFeatures().get(1);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getVendor_MerchantAccount() {
        return (EReference)getVendor().getEStructuralFeatures().get(2);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getVendor_BankStatements() {
        return (EReference)getVendor().getEStructuralFeatures().get(3);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getVendor_VendorShifts() {
        return (EReference)getVendor().getEStructuralFeatures().get(4);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EClass getCard() {
		if (cardEClass == null) {
			cardEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(PaymentMeteringPackage.eNS_URI).getEClassifiers().get(31);
		}
		return cardEClass;
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getCard_CvNumber() {
        return (EAttribute)getCard().getEStructuralFeatures().get(0);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getCard_ExpiryDate() {
        return (EAttribute)getCard().getEStructuralFeatures().get(1);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getCard_Pan() {
        return (EAttribute)getCard().getEStructuralFeatures().get(2);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EAttribute getCard_AccountHolderName() {
        return (EAttribute)getCard().getEStructuralFeatures().get(3);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EReference getCard_Tender() {
        return (EReference)getCard().getEStructuralFeatures().get(4);
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EEnum getTransactionKind() {
		if (transactionKindEEnum == null) {
			transactionKindEEnum = (EEnum)EPackage.Registry.INSTANCE.getEPackage(PaymentMeteringPackage.eNS_URI).getEClassifiers().get(3);
		}
		return transactionKindEEnum;
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EEnum getSupplierKind() {
		if (supplierKindEEnum == null) {
			supplierKindEEnum = (EEnum)EPackage.Registry.INSTANCE.getEPackage(PaymentMeteringPackage.eNS_URI).getEClassifiers().get(5);
		}
		return supplierKindEEnum;
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EEnum getChargeKind() {
		if (chargeKindEEnum == null) {
			chargeKindEEnum = (EEnum)EPackage.Registry.INSTANCE.getEPackage(PaymentMeteringPackage.eNS_URI).getEClassifiers().get(6);
		}
		return chargeKindEEnum;
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EEnum getTenderKind() {
		if (tenderKindEEnum == null) {
			tenderKindEEnum = (EEnum)EPackage.Registry.INSTANCE.getEPackage(PaymentMeteringPackage.eNS_URI).getEClassifiers().get(11);
		}
		return tenderKindEEnum;
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EEnum getCreditKind() {
		if (creditKindEEnum == null) {
			creditKindEEnum = (EEnum)EPackage.Registry.INSTANCE.getEPackage(PaymentMeteringPackage.eNS_URI).getEClassifiers().get(17);
		}
		return creditKindEEnum;
	}

	/**
	 *
	 *
	 * @generated
	 */
	public EEnum getChequeKind() {
		if (chequeKindEEnum == null) {
			chequeKindEEnum = (EEnum)EPackage.Registry.INSTANCE.getEPackage(PaymentMeteringPackage.eNS_URI).getEClassifiers().get(27);
		}
		return chequeKindEEnum;
	}

	/**
	 *
	 *
	 * @generated
	 */
	public PaymentMeteringFactory getPaymentMeteringFactory() {
		return (PaymentMeteringFactory)getEFactoryInstance();
	}

	/**
	 *
	 *
	 * @generated
	 */
	private boolean isFixed = false;

	/**
	 * Fixes up the loaded package, to make it appear as if it had been programmatically built.
	 *
	 *
	 * @generated
	 */
	public void fixPackageContents() {
		if (isFixed) return;
		isFixed = true;
		fixEClassifiers();
	}

	/**
	 * Sets the instance class on the given classifier.
	 *
	 *
	 * @generated
	 */
	@Override
	protected void fixInstanceClass(EClassifier eClassifier) {
		if (eClassifier.getInstanceClassName() == null) {
			eClassifier.setInstanceClassName("CIM.IEC61968.PaymentMetering." + eClassifier.getName());
			setGeneratedClassName(eClassifier);
		}
	}

} //PaymentMeteringPackageImpl


text:
/**
  * Automatically generated file. Please do not edit.
  * @author Highcharts Config Generator by Karasiq
  * @see [[http://api.highcharts.com/highcharts]]
  */
package com.highcharts.config

import scalajs.js, js.`|`
import com.highcharts.CleanJsObject
import com.highcharts.HighchartsUtils._

/**
  * @note JavaScript name: drilldown-animation
  */
@js.annotation.ScalaJSDefined
class DrilldownAnimation extends com.highcharts.HighchartsGenericObject {

  /**
    *
Duration for the drilldown animation.

    * @since 3.0.8
    */
  val duration: js.UndefOr[Double | String] = js.undefined
}

object DrilldownAnimation {
  /**
    * @param duration
Duration for the drilldown animation.

    */
  def apply(duration: js.UndefOr[Double | String] = js.undefined): DrilldownAnimation = {
    val durationOuter: js.UndefOr[Double | String] = duration
    com.highcharts.HighchartsGenericObject.toCleanObject(new DrilldownAnimation {
      override val duration: js.UndefOr[Double | String] = durationOuter
    })
  }
}

redpajama_set_name: RedPajamaGithub


text:
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2014-2016 YCSB contributors. All rights reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you
may not use this file except in compliance with the License. You
may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied. See the License for the specific language governing
permissions and limitations under the License. See accompanying
LICENSE file.
-->

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>site.ycsb</groupId>
    <artifactId>binding-parent</artifactId>
    <version>0.18.0-SNAPSHOT</version>
    <relativePath>../binding-parent</relativePath>
  </parent>

  <artifactId>memcached-binding</artifactId>
  <name>memcached binding</name>
  <packaging>jar</packaging>

  <dependencies>
    <dependency>
      <groupId>log4j</groupId>
      <artifactId>log4j</artifactId>
      <version>1.2.17</version>
    </dependency>
    <dependency>
      <groupId>site.ycsb</groupId>
      <artifactId>core</artifactId>
      <version>${project.version}</version>
    </dependency>
    <dependency>
      <groupId>org.codehaus.jackson</groupId>
      <artifactId>jackson-mapper-asl</artifactId>
      <version>1.9.13</version>
    </dependency>
    <dependency>
      <groupId>net.spy</groupId>
      <artifactId>spymemcached</artifactId>
      <version>2.11.4</version>
    </dependency>
  </dependencies>

  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-assembly-plugin</artifactId>
        <version>${maven.assembly.version}</version>
        <configuration>
          <descriptorRefs>
            <descriptorRef>jar-with-dependencies</descriptorRef>
          </descriptorRefs>
          <appendAssemblyId>false</appendAssemblyId>
        </configuration>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>single</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
</project>


text:
============================
JavaScript Template Compiler
============================

The `jstc` Python package compiles and packages JavaScript templates
for delivery to browsers for client-side evaluation.

Currently, only `Handlebars`_ and `Mustache`_ template formats are
supported natively, however this is easily extended via jstc's plugin
mechanism.

Project
=======

* Homepage: https://github.com/canaryhealth/jstc
* Bugs: https://github.com/canaryhealth/jstc/issues
* Manual: https://github.com/canaryhealth/jstc/blob/master/doc/manual.rst

Installation
============

.. code:: bash

  $ pip install jstc

Optionally, the handlebars pre-compiler can be installed to
pre-compile JavaScript templates for faster client-side rendering:

.. code:: bash

  # OPTIONAL: install handlebars pre-compiler
  $ npm install handlebars
  $ export PATH="`pwd`/node_modules/.bin:$PATH"

Usage
=====

The typical usage is to have something similar to the following in
your HTML generation template (here, using `Mako`_ syntax):

.. code:: mako

  <%! import jstc %>

Loading...

        ${jstc.render_assets('myapp:static/scripts/**.hbs')|n}

Example
=======

Given that the following files exist in the Python package `myapp`:

File ``myapp/static/templates/common/hello.hbs``::

  Hello, {{name}}!

File ``myapp/static/templates/common/inputs.hbs`` (a "multi-template" file)::

  ##! text

    <input type="text" name="{{name}}" value="{{value}}"/>

  ##! checkbox

    <input type="checkbox" name="{{name}}" value="1" {{#if value}}checked="checked"{{/if}}/>

Then, the Python code (`inline` and `precompile` attributes used for
output simplicity):

.. code:: python

  import jstc
  jstc.render_assets(
    'myapp:static/templates/common/**.hbs', 'static/templates',
    force_inline=True, force_precompile=False)

Outputs the following HTML (whitespace and newlines added for clarity):

.. code:: html

See https://github.com/canaryhealth/jstc/blob/master/doc/manual.rst for
more documentation.

.. _Handlebars: http://handlebarsjs.com/
.. _Mustache: http://mustache.github.io/
.. _Mako: http://www.makotemplates.org/


text:
/*
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.facebook.presto.sql.planner;

import com.facebook.presto.cost.PlanNodeCost;
import com.facebook.presto.spi.type.Type;
import com.facebook.presto.sql.planner.plan.PlanNode;
import com.facebook.presto.sql.planner.plan.PlanNodeId;
import com.google.common.collect.ImmutableMap;

import java.util.Map;

import static java.util.Objects.requireNonNull;

public class Plan
{
    private final PlanNode root;
    private final Map<Symbol, Type> types;
    private final Map<PlanNodeId, PlanNodeCost> planNodeCosts;

    public Plan(PlanNode root, Map<Symbol, Type> types, Map<PlanNodeId, PlanNodeCost> planNodeCosts)
    {
        requireNonNull(root, "root is null");
        requireNonNull(types, "types is null");
        requireNonNull(planNodeCosts, "planNodeCosts is null");

        this.root = root;
        this.types = ImmutableMap.copyOf(types);
        this.planNodeCosts = planNodeCosts;
    }

    public PlanNode getRoot()
    {
        return root;
    }

    public Map<Symbol, Type> getTypes()
    {
        return types;
    }

    public Map<PlanNodeId, PlanNodeCost> getPlanNodeCosts()
    {
        return planNodeCosts;
    }
}


text:
Thank your for your interest in contributing to the Symfony2 LTS development
template. This guide details how to contribute to the project in a way that
is efficient for everyone. If you have read this guide, you are ready to
submit your first contribution.


text:
package com.mapzen.places.api.internal;

/**
 * Layers available in the Pelias service.
 */
class PeliasLayerConsts {
  static final String PELIAS_LAYER_ADDRESS = "address";
  static final String PELIAS_LAYER_LOCALITY = "locality";
  static final String PELIAS_LAYER_VENUE = "venue";
  static final String PELIAS_LAYER_COARSE = "coarse";
  static final String PELIAS_LAYER_NONE = "";
  static final String PELIAS_LAYER_COUNTRY = "country";
  static final String PELIAS_LAYER_MACRO_COUNTY = "macrocounty";
  static final String PELIAS_LAYER_COUNTY = "county";
  static final String PELIAS_LAYER_LOCAL_ADMIN = "localadmin";
  static final String PELIAS_LAYER_BOROUGH = "borough";
  static final String PELIAS_LAYER_NEIGHBOURHOOD = "neighbourhood";
  static final String PELIAS_LAYER_STREET = "street";
  static final String PELIAS_LAYER_REGION = "region";
  static final String PELIAS_LAYER_MACRO_REGION = "macroregion";
}


text:
package com.intellij.refactoring.move.moveFilesOrDirectories;

import com.intellij.ide.util.DirectoryChooserUtil;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.command.CommandProcessor;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.ui.DialogWrapper;
import com.intellij.psi.*;
import com.intellij.refactoring.RefactoringBundle;
import com.intellij.refactoring.RefactoringSettings;
import com.intellij.refactoring.move.MoveCallback;
import com.intellij.refactoring.move.MoveHandler;
import com.intellij.refactoring.util.CommonRefactoringUtil;
import com.intellij.util.Function;
import com.intellij.util.IncorrectOperationException;
import org.jetbrains.annotations.Nullable;

import java.util.HashMap;

public class MoveFilesOrDirectoriesUtil {
  private static final Logger LOG = Logger.getInstance("#com.intellij.refactoring.move.moveFilesOrDirectories.MoveFilesOrDirectoriesUtil");

  private MoveFilesOrDirectoriesUtil() {
  }

  // Does not process non-code usages!
  public static void doMoveDirectory(final PsiDirectory aDirectory, final PsiDirectory destDirectory) throws IncorrectOperationException {
    PsiManager manager = aDirectory.getManager();
    // do actual move
    manager.moveDirectory(aDirectory, destDirectory);
  }

  // Does not process non-code usages!
  public static void doMoveFile(final PsiFile file, final PsiDirectory newDirectory) throws IncorrectOperationException {
    PsiManager manager = file.getManager();
    // the class is already there, this is true when multiple classes are defined in the same file
    if (!newDirectory.equals(file.getContainingDirectory())) {
      // do actual move
      manager.moveFile(file, newDirectory);
    }
  }

  /**
   * @param elements should contain PsiDirectories or PsiFiles only
   */
  public static void doMove(final Project project,
                            final PsiElement[] elements,
                            final PsiElement[] targetElement,
                            final MoveCallback moveCallback) {
    doMove(project, elements, targetElement, moveCallback, null);
  }

  /**
   * @param elements should contain PsiDirectories or PsiFiles only if adjustElements == null
   */
  public static void doMove(final Project project,
                            final PsiElement[] elements,
                            final PsiElement[] targetElement,
                            final MoveCallback moveCallback,
                            final Function<PsiElement[], PsiElement[]> adjustElements) {
    if (adjustElements == null) {
      for (PsiElement element : elements) {
        if (!(element instanceof PsiFile) && !(element instanceof PsiDirectory)) {
          throw new IllegalArgumentException("unexpected element type: " + element);
        }
      }
    }

    final PsiDirectory targetDirectory = resolveToDirectory(project, targetElement[0]);
    if (targetElement[0] != null && targetDirectory == null) return;

    final PsiDirectory initialTargetDirectory = getInitialTargetDirectory(targetDirectory, elements);

    final MoveFilesOrDirectoriesDialog.Callback doRun = new MoveFilesOrDirectoriesDialog.Callback() {
      public void run(final MoveFilesOrDirectoriesDialog moveDialog) {
        CommandProcessor.getInstance().executeCommand(project, new Runnable() {
          @Override
          public void run() {
            final PsiDirectory targetDirectory = moveDialog != null ? moveDialog.getTargetDirectory() : initialTargetDirectory;

            LOG.assertTrue(targetDirectory != null);
            PsiElement[] newElements = adjustElements != null ? adjustElements.fun(elements) : elements;
            targetElement[0] = targetDirectory;

            PsiManager manager = PsiManager.getInstance(project);
            try {
              for (PsiElement psiElement : newElements) {
                manager.checkMove(psiElement, targetDirectory);
              }

              new MoveFilesOrDirectoriesProcessor(project, newElements, targetDirectory,
                                                  RefactoringSettings.getInstance().MOVE_SEARCH_FOR_REFERENCES_FOR_FILE,
                                                  false, false, moveCallback, new Runnable() {
                public void run() {
                  if (moveDialog != null) moveDialog.close(DialogWrapper.CANCEL_EXIT_CODE);
                }
              }).run();
            }
            catch (IncorrectOperationException e) {
              CommonRefactoringUtil.showErrorMessage(RefactoringBundle.message("error.title"), e.getMessage(),
                                                     "refactoring.moveFile", project);
            }
          }
        }, MoveHandler.REFACTORING_NAME, null);
      }
    };

    if (ApplicationManager.getApplication().isUnitTestMode()) {
      doRun.run(null);
    }
    else {
      final MoveFilesOrDirectoriesDialog moveDialog = new MoveFilesOrDirectoriesDialog(project, doRun);
      moveDialog.setData(elements, initialTargetDirectory, "refactoring.moveFile");
      moveDialog.show();
    }
  }

  @Nullable
  private static PsiDirectory resolveToDirectory(final Project project, final PsiElement element) {
    if (!(element instanceof PsiDirectoryContainer)) {
      return (PsiDirectory)element;
    }

    PsiDirectory[] directories = ((PsiDirectoryContainer)element).getDirectories();
    switch (directories.length) {
      case 0:
        return null;
      case 1:
        return directories[0];
      default:
        return DirectoryChooserUtil.chooseDirectory(directories, directories[0], project, new HashMap<PsiDirectory, String>());
    }

  }

  @Nullable
  private static PsiDirectory getCommonDirectory(PsiElement[] movedElements) {
    PsiDirectory commonDirectory = null;

    for (PsiElement movedElement : movedElements) {
      final PsiDirectory containingDirectory;
      if (movedElement instanceof PsiDirectory) {
        containingDirectory = ((PsiDirectory)movedElement).getParentDirectory();
      }
      else {
        final PsiFile containingFile = movedElement.getContainingFile();
        containingDirectory = containingFile == null ? null : containingFile.getContainingDirectory();
      }

      if (containingDirectory != null) {
        if (commonDirectory == null) {
          commonDirectory = containingDirectory;
        }
        else {
          if (commonDirectory != containingDirectory) {
            return null;
          }
        }
      }
    }
    return commonDirectory;
  }

  @Nullable
  private static PsiDirectory getInitialTargetDirectory(PsiDirectory initialTargetElement, final PsiElement[] movedElements) {
    PsiDirectory initialTargetDirectory = initialTargetElement;
    if (initialTargetDirectory == null) {
      if (movedElements != null) {
        final PsiDirectory commonDirectory = getCommonDirectory(movedElements);
        if (commonDirectory != null) {
          initialTargetDirectory = commonDirectory;
        }
        else {
          initialTargetDirectory = getContainerDirectory(movedElements[0]);
        }
      }
    }
    return initialTargetDirectory;
  }

  @Nullable
  private static PsiDirectory getContainerDirectory(final PsiElement psiElement) {
    if (psiElement instanceof PsiDirectory) {
      return (PsiDirectory)psiElement;
    }
    else if (psiElement != null) {
      return psiElement.getContainingFile().getContainingDirectory();
    }
    else {
      return null;
    }
  }

  public static void checkIfMoveIntoSelf(PsiElement element, PsiElement newContainer) throws IncorrectOperationException {
    PsiElement container = newContainer;
    while (container != null) {
      if (container == element) {
        if (element instanceof PsiDirectory) {
          if (element == newContainer) {
            throw new IncorrectOperationException("Cannot place directory into itself.");
          }
          else {
            throw new IncorrectOperationException("Cannot place directory into its subdirectory.");
          }
        }
        else {
          throw new IncorrectOperationException();
        }
      }
      container = container.getParent();
    }
  }
}


text:
package org.apache.poi.ss.formula.functions;

import java.util.Collection;

import org.junit.runners.Parameterized.Parameters;

/**
 * Tests Imaginary() as loaded from a test data spreadsheet.<p/>
 */
public class TestImaginaryFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet {
    @Parameters(name="{0}")
    public static Collection<Object[]> data() throws Exception {
        return data(TestImaginaryFunctionsFromSpreadsheet.class, "ImaginaryFunctionTestCaseData.xls");
    }
}


text:
package edu.common.dynamicextensions.ui.webui.action;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;

import edu.common.dynamicextensions.domaininterface.userinterface.ContainerInterface;
import edu.common.dynamicextensions.processor.ApplyFormControlsProcessor;
import edu.common.dynamicextensions.ui.webui.actionform.ControlsForm;
import edu.common.dynamicextensions.ui.webui.util.WebUIManager;
import edu.common.dynamicextensions.util.global.Constants;

/**
 * This class is executed when user selects 'Add to Form'.
 * The exception thrown can be of 'Application' type ,in this case the same Screen will be displayed
 * added with error messages .
 * And The exception thrown can be of 'System' type, in this case user will be directed to Error Page.
 * @author deepti_shelar
 *
 */
public class AddControlsAction extends BaseDynamicExtensionsAction
{
	/**
	 * @param mapping ActionMapping mapping
	 * @param form ActionForm form
	 * @param  request HttpServletRequest request
	 * @param response HttpServletResponse response
	 * @return ActionForward forward to next action
	 */
	public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)
	{
		//Get controls form
		ControlsForm controlsForm = (ControlsForm) form;
		try
		{
			//Get container interface from cache
			ContainerInterface containerInterface = WebUIManager.getCurrentContainer(request);
			//Add control to form
			ApplyFormControlsProcessor applyFormControlsProcessor = ApplyFormControlsProcessor.getInstance();
			//Ashish - Changes done for XMI Edited XMI Import
			applyFormControlsProcessor.addControlToForm(containerInterface, controlsForm, controlsForm);

			ActionForward actionForward = mapping.findForward(Constants.SUCCESS);
			response.sendRedirect("http://" + request.getServerName() + ":" + request.getServerPort() + request.getContextPath()
					+ actionForward.getPath());
			return null;
			//return null;
		}
		catch (Exception e)
		{
			String actionForwardString = catchException(e, request);
			if ((actionForwardString == null) || (actionForwardString.equals("")))
			{
				return mapping.getInputForward();
			}
			return (mapping.findForward(actionForwardString));
		}
	}

}


text:
package org.commonjava.indy.model.galley;

import org.commonjava.indy.content.IndyLocationExpander;
import org.commonjava.indy.model.core.HostedRepository;
import org.commonjava.indy.model.core.StoreKey;
import org.commonjava.maven.galley.model.Location;

import java.util.HashMap;
import java.util.Map;

/**
 * {@link KeyedLocation} implementation that only knows about locally hosted/cached content. During Galley's handling, it can be converted into other
 * store-related {@link KeyedLocation} types, assuming it's not referencing a {@link HostedRepository}, via the {@link IndyLocationExpander} component.
 */
public class CacheOnlyLocation
    implements KeyedLocation
{

    private final Map<String, Object> attributes = new HashMap<String, Object>();

    private final StoreKey key;

    private final boolean isHosted;

    private final boolean isAllowSnapshots;

    private final boolean isAllowReleases;

    private boolean isReadOnly;

    /**
     * This is used to bypass the repo's readonly flag in case of internal workflow like promotion.
     */
    public void setReadonly( boolean isReadOnly )
    {
        this.isReadOnly = isReadOnly;
    }

    public static CacheOnlyLocation copyOf( final CacheOnlyLocation location )
    {
        CacheOnlyLocation ret = new CacheOnlyLocation( location.getKey(), location.isHosted, location.isAllowReleases,
                                                       location.isAllowSnapshots, location.isReadOnly );
        ret.attributes.putAll( location.attributes );
        return ret;
    }

    public CacheOnlyLocation( final HostedRepository repo )
    {
        this.isHosted = true;
        this.isAllowReleases = repo.isAllowReleases();
        this.isAllowSnapshots = repo.isAllowSnapshots();
        this.isReadOnly = repo.isReadonly();

        if ( repo.getStorage() != null )
        {
            attributes.put( Location.ATTR_ALT_STORAGE_LOCATION, repo.getStorage() );
        }

        this.key = repo.getKey();
    }

    public CacheOnlyLocation( final StoreKey key, final boolean isHosted, final boolean isAllowReleases,
                              final boolean isAllowSnapshots, final boolean isReadOnly )
    {
        this.isHosted = isHosted;
        this.isAllowReleases = isAllowReleases;
        this.isAllowSnapshots = isAllowSnapshots;
        this.isReadOnly = isReadOnly;
        this.key = key;
    }

    public CacheOnlyLocation( final StoreKey key )
    {
        this.isHosted = false;
        this.isAllowReleases = true;
        this.isAllowSnapshots = false;
        this.isReadOnly = true;
        this.key = key;
    }

    public boolean isHostedRepository()
    {
        return isHosted;
    }

    @Override
    public boolean allowsPublishing()
    {
        return false;
    }

    @Override
    public boolean allowsStoring()
    {
        return isHosted && !isReadOnly;
    }

    @Override
    public boolean allowsSnapshots()
    {
        return isAllowSnapshots;
    }

    @Override
    public boolean allowsReleases()
    {
        return isAllowReleases;
    }

    @Override
    public boolean allowsDeletion()
    {
        return isHosted && !isReadOnly;
    }

    @Override
    public String getUri()
    {
        return "indy:" + key;
    }

    @Override
    public Map<String, Object> getAttributes()
    {
        return attributes;
    }

    @Override
    public <T> T getAttribute( final String key, final Class<T> type )
    {
        return getAttribute( key, type, null );
    }

    @Override
    public <T> T getAttribute( final String key, final Class<T> type, final T defaultValue )
    {
        final Object value = attributes.get( key );
        return value == null ? defaultValue : type.cast( value );
    }

    @Override
    public Object removeAttribute( final String key )
    {
        return attributes.remove( key );
    }

    @Override
    public Object setAttribute( final String key, final Object value )
    {
        return attributes.put( key, value );
    }

    @Override
    public StoreKey getKey()
    {
        return key;
    }

    @Override
    public boolean allowsDownloading()
    {
        return false;
    }

    @Override
    public String toString()
    {
        return "Cache-only location [" + key + "]";
    }

    @Override
    public String getName()
    {
        return getKey().toString();
    }

    @Override
    public int hashCode()
    {
        final int prime = 31;
        int result = 1;
        result = prime * result + ( ( key == null ) ? 0 : key.hashCode() );
        return result;
    }

    @Override
    public boolean equals( final Object obj )
    {
        if ( this == obj )
        {
            return true;
        }
        if ( obj == null )
        {
            return false;
        }
        if ( getClass() != obj.getClass() )
        {
            return false;
        }
        final CacheOnlyLocation other = (CacheOnlyLocation) obj;
        if ( key == null )
        {
            if ( other.key != null )
            {
                return false;
            }
        }
        else if ( !key.equals( other.key ) )
        {
            return false;
        }
        return true;
    }

}


text:
package DesignPatterns.template;

import Queue.Queue;

/**
 * Created by hakanmehmed on 05/07/2017.
 */
public abstract class AbstractQuery implements Query {
    public Result execute() {
        Connection c = new Connection();
        Result r = c.execute(getQueryString());
        c.close();
        return r;
    }

    abstract protected String getQueryString();
}


text:
export default function errorHandler(err, req, res, next) {
    if (err.statusCode) {
        res.status(err.statusCode).json(err);
    } else {
        res.status(500).json(err);
    }
}


text:
package org.jkiss.dbeaver.registry;

import org.eclipse.core.runtime.IConfigurationElement;
import org.jkiss.dbeaver.model.impl.AbstractDescriptor;

/**
 * ProductBundleDescriptor
 */
public class ProductBundleDescriptor extends AbstractDescriptor {

    private final String id;
    private final String label;
    private final String description;

    public ProductBundleDescriptor(IConfigurationElement config)
    {
        super(config);
        this.id = config.getAttribute(RegistryConstants.ATTR_ID);
        this.label = config.getAttribute(RegistryConstants.ATTR_LABEL);
        this.description = config.getAttribute(RegistryConstants.ATTR_DESCRIPTION);
    }

    public String getId() {
        return id;
    }

    public String getLabel() {
        return label;
    }

    public String getDescription() {
        return description;
    }

}