All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.ccsds.moims.mo.com.activitytracking.ActivityTrackingHelper Maven / Gradle / Ivy

There is a newer version: 8.2
Show newest version
package org.ccsds.moims.mo.com.activitytracking;

/**
 * Helper class for ActivityTracking service.
 */
public class ActivityTrackingHelper
{
  /**
   * Service number literal.
   */
  public static final int _ACTIVITYTRACKING_SERVICE_NUMBER = 3;
  /**
   * Service number instance.
   */
  public static final org.ccsds.moims.mo.mal.structures.UShort ACTIVITYTRACKING_SERVICE_NUMBER = new org.ccsds.moims.mo.mal.structures.UShort(_ACTIVITYTRACKING_SERVICE_NUMBER);
  /**
   * Service name constant.
   */
  public static final org.ccsds.moims.mo.mal.structures.Identifier ACTIVITYTRACKING_SERVICE_NAME = new org.ccsds.moims.mo.mal.structures.Identifier("ActivityTracking");
  /**
   * Service singleton instance.
   */
  public static org.ccsds.moims.mo.mal.MALService ACTIVITYTRACKING_SERVICE = new org.ccsds.moims.mo.mal.MALService(ACTIVITYTRACKING_SERVICE_NUMBER, ACTIVITYTRACKING_SERVICE_NAME);
  /**
   * Registers all aspects of this service with the provided element factory.
   * @param bodyElementFactory bodyElementFactory The element factory registry to initialise with this helper.
   * @throws org.ccsds.moims.mo.mal.MALException If cannot initialise this helper.
   */
  public static void init(org.ccsds.moims.mo.mal.MALElementFactoryRegistry bodyElementFactory) throws org.ccsds.moims.mo.mal.MALException
  {
    org.ccsds.moims.mo.com.COMHelper.COM_AREA.addService(ACTIVITYTRACKING_SERVICE);
    bodyElementFactory.registerElementFactory(org.ccsds.moims.mo.com.activitytracking.structures.ActivityTransfer.SHORT_FORM, new org.ccsds.moims.mo.com.activitytracking.structures.factory.ActivityTransferFactory());
    bodyElementFactory.registerElementFactory(org.ccsds.moims.mo.com.activitytracking.structures.ActivityTransferList.SHORT_FORM, new org.ccsds.moims.mo.com.activitytracking.structures.factory.ActivityTransferListFactory());
    bodyElementFactory.registerElementFactory(org.ccsds.moims.mo.com.activitytracking.structures.ActivityAcceptance.SHORT_FORM, new org.ccsds.moims.mo.com.activitytracking.structures.factory.ActivityAcceptanceFactory());
    bodyElementFactory.registerElementFactory(org.ccsds.moims.mo.com.activitytracking.structures.ActivityAcceptanceList.SHORT_FORM, new org.ccsds.moims.mo.com.activitytracking.structures.factory.ActivityAcceptanceListFactory());
    bodyElementFactory.registerElementFactory(org.ccsds.moims.mo.com.activitytracking.structures.ActivityExecution.SHORT_FORM, new org.ccsds.moims.mo.com.activitytracking.structures.factory.ActivityExecutionFactory());
    bodyElementFactory.registerElementFactory(org.ccsds.moims.mo.com.activitytracking.structures.ActivityExecutionList.SHORT_FORM, new org.ccsds.moims.mo.com.activitytracking.structures.factory.ActivityExecutionListFactory());
    bodyElementFactory.registerElementFactory(org.ccsds.moims.mo.com.activitytracking.structures.OperationActivity.SHORT_FORM, new org.ccsds.moims.mo.com.activitytracking.structures.factory.OperationActivityFactory());
    bodyElementFactory.registerElementFactory(org.ccsds.moims.mo.com.activitytracking.structures.OperationActivityList.SHORT_FORM, new org.ccsds.moims.mo.com.activitytracking.structures.factory.OperationActivityListFactory());
  }

  /**
   * Registers all aspects of this service with the provided element factory and any referenced areas/services.
   * @param bodyElementFactory bodyElementFactory The element factory registry to initialise with this helper.
   * @throws org.ccsds.moims.mo.mal.MALException If cannot initialise this helper.
   */
  public static void deepInit(org.ccsds.moims.mo.mal.MALElementFactoryRegistry bodyElementFactory) throws org.ccsds.moims.mo.mal.MALException
  {
    init(bodyElementFactory);
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy