org.ccsds.moims.mo.com.activitytracking.ActivityTrackingHelper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of API_COM Show documentation
Show all versions of API_COM Show documentation
The CCSDS COM API for Java
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.com.COMService ACTIVITYTRACKING_SERVICE = new org.ccsds.moims.mo.com.COMService(ACTIVITYTRACKING_SERVICE_NUMBER, ACTIVITYTRACKING_SERVICE_NAME);
/**
* Literal for object OPERATIONACTIVITY.
*/
@org.ccsds.moims.mo.com.Proposed
public static final int _OPERATIONACTIVITY_OBJECT_NUMBER = 6;
/**
* Instance for object OPERATIONACTIVITY.
*/
@org.ccsds.moims.mo.com.Proposed
public static final org.ccsds.moims.mo.mal.structures.UShort OPERATIONACTIVITY_OBJECT_NUMBER = new org.ccsds.moims.mo.mal.structures.UShort(_OPERATIONACTIVITY_OBJECT_NUMBER);
/**
* Object name constant.
*/
@org.ccsds.moims.mo.com.Proposed
public static final org.ccsds.moims.mo.mal.structures.Identifier OPERATIONACTIVITY_OBJECT_NAME = new org.ccsds.moims.mo.mal.structures.Identifier("OperationActivity");
/**
* Object type constant.
*/
@org.ccsds.moims.mo.com.Proposed
public static final org.ccsds.moims.mo.com.structures.ObjectType OPERATIONACTIVITY_OBJECT_TYPE = new org.ccsds.moims.mo.com.structures.ObjectType(org.ccsds.moims.mo.com.COMHelper.COM_AREA_NUMBER, ACTIVITYTRACKING_SERVICE_NUMBER, org.ccsds.moims.mo.com.COMHelper.COM_AREA_VERSION, OPERATIONACTIVITY_OBJECT_NUMBER);
/**
* Object instance.
*/
@org.ccsds.moims.mo.com.Proposed
public static org.ccsds.moims.mo.com.COMObject OPERATIONACTIVITY_OBJECT = new org.ccsds.moims.mo.com.COMObject(OPERATIONACTIVITY_OBJECT_TYPE, OPERATIONACTIVITY_OBJECT_NAME, org.ccsds.moims.mo.com.activitytracking.structures.OperationActivity.SHORT_FORM, false, null, false, null, false);
/**
* Literal for object RELEASE.
*/
@org.ccsds.moims.mo.com.Proposed
public static final int _RELEASE_OBJECT_NUMBER = 1;
/**
* Instance for object RELEASE.
*/
@org.ccsds.moims.mo.com.Proposed
public static final org.ccsds.moims.mo.mal.structures.UShort RELEASE_OBJECT_NUMBER = new org.ccsds.moims.mo.mal.structures.UShort(_RELEASE_OBJECT_NUMBER);
/**
* Object name constant.
*/
@org.ccsds.moims.mo.com.Proposed
public static final org.ccsds.moims.mo.mal.structures.Identifier RELEASE_OBJECT_NAME = new org.ccsds.moims.mo.mal.structures.Identifier("Release");
/**
* Object type constant.
*/
@org.ccsds.moims.mo.com.Proposed
public static final org.ccsds.moims.mo.com.structures.ObjectType RELEASE_OBJECT_TYPE = new org.ccsds.moims.mo.com.structures.ObjectType(org.ccsds.moims.mo.com.COMHelper.COM_AREA_NUMBER, ACTIVITYTRACKING_SERVICE_NUMBER, org.ccsds.moims.mo.com.COMHelper.COM_AREA_VERSION, RELEASE_OBJECT_NUMBER);
/**
* Object instance.
*/
@org.ccsds.moims.mo.com.Proposed
public static org.ccsds.moims.mo.com.COMObject RELEASE_OBJECT = new org.ccsds.moims.mo.com.COMObject(RELEASE_OBJECT_TYPE, RELEASE_OBJECT_NAME, org.ccsds.moims.mo.com.activitytracking.structures.ActivityTransfer.SHORT_FORM, false, null, true, null, true);
/**
* Literal for object RECEPTION.
*/
@org.ccsds.moims.mo.com.Proposed
public static final int _RECEPTION_OBJECT_NUMBER = 2;
/**
* Instance for object RECEPTION.
*/
@org.ccsds.moims.mo.com.Proposed
public static final org.ccsds.moims.mo.mal.structures.UShort RECEPTION_OBJECT_NUMBER = new org.ccsds.moims.mo.mal.structures.UShort(_RECEPTION_OBJECT_NUMBER);
/**
* Object name constant.
*/
@org.ccsds.moims.mo.com.Proposed
public static final org.ccsds.moims.mo.mal.structures.Identifier RECEPTION_OBJECT_NAME = new org.ccsds.moims.mo.mal.structures.Identifier("Reception");
/**
* Object type constant.
*/
@org.ccsds.moims.mo.com.Proposed
public static final org.ccsds.moims.mo.com.structures.ObjectType RECEPTION_OBJECT_TYPE = new org.ccsds.moims.mo.com.structures.ObjectType(org.ccsds.moims.mo.com.COMHelper.COM_AREA_NUMBER, ACTIVITYTRACKING_SERVICE_NUMBER, org.ccsds.moims.mo.com.COMHelper.COM_AREA_VERSION, RECEPTION_OBJECT_NUMBER);
/**
* Object instance.
*/
@org.ccsds.moims.mo.com.Proposed
public static org.ccsds.moims.mo.com.COMObject RECEPTION_OBJECT = new org.ccsds.moims.mo.com.COMObject(RECEPTION_OBJECT_TYPE, RECEPTION_OBJECT_NAME, org.ccsds.moims.mo.com.activitytracking.structures.ActivityTransfer.SHORT_FORM, false, null, true, null, true);
/**
* Literal for object FORWARD.
*/
@org.ccsds.moims.mo.com.Proposed
public static final int _FORWARD_OBJECT_NUMBER = 3;
/**
* Instance for object FORWARD.
*/
@org.ccsds.moims.mo.com.Proposed
public static final org.ccsds.moims.mo.mal.structures.UShort FORWARD_OBJECT_NUMBER = new org.ccsds.moims.mo.mal.structures.UShort(_FORWARD_OBJECT_NUMBER);
/**
* Object name constant.
*/
@org.ccsds.moims.mo.com.Proposed
public static final org.ccsds.moims.mo.mal.structures.Identifier FORWARD_OBJECT_NAME = new org.ccsds.moims.mo.mal.structures.Identifier("Forward");
/**
* Object type constant.
*/
@org.ccsds.moims.mo.com.Proposed
public static final org.ccsds.moims.mo.com.structures.ObjectType FORWARD_OBJECT_TYPE = new org.ccsds.moims.mo.com.structures.ObjectType(org.ccsds.moims.mo.com.COMHelper.COM_AREA_NUMBER, ACTIVITYTRACKING_SERVICE_NUMBER, org.ccsds.moims.mo.com.COMHelper.COM_AREA_VERSION, FORWARD_OBJECT_NUMBER);
/**
* Object instance.
*/
@org.ccsds.moims.mo.com.Proposed
public static org.ccsds.moims.mo.com.COMObject FORWARD_OBJECT = new org.ccsds.moims.mo.com.COMObject(FORWARD_OBJECT_TYPE, FORWARD_OBJECT_NAME, org.ccsds.moims.mo.com.activitytracking.structures.ActivityTransfer.SHORT_FORM, false, null, true, null, true);
/**
* Literal for object ACCEPTANCE.
*/
@org.ccsds.moims.mo.com.Proposed
public static final int _ACCEPTANCE_OBJECT_NUMBER = 4;
/**
* Instance for object ACCEPTANCE.
*/
@org.ccsds.moims.mo.com.Proposed
public static final org.ccsds.moims.mo.mal.structures.UShort ACCEPTANCE_OBJECT_NUMBER = new org.ccsds.moims.mo.mal.structures.UShort(_ACCEPTANCE_OBJECT_NUMBER);
/**
* Object name constant.
*/
@org.ccsds.moims.mo.com.Proposed
public static final org.ccsds.moims.mo.mal.structures.Identifier ACCEPTANCE_OBJECT_NAME = new org.ccsds.moims.mo.mal.structures.Identifier("Acceptance");
/**
* Object type constant.
*/
@org.ccsds.moims.mo.com.Proposed
public static final org.ccsds.moims.mo.com.structures.ObjectType ACCEPTANCE_OBJECT_TYPE = new org.ccsds.moims.mo.com.structures.ObjectType(org.ccsds.moims.mo.com.COMHelper.COM_AREA_NUMBER, ACTIVITYTRACKING_SERVICE_NUMBER, org.ccsds.moims.mo.com.COMHelper.COM_AREA_VERSION, ACCEPTANCE_OBJECT_NUMBER);
/**
* Object instance.
*/
@org.ccsds.moims.mo.com.Proposed
public static org.ccsds.moims.mo.com.COMObject ACCEPTANCE_OBJECT = new org.ccsds.moims.mo.com.COMObject(ACCEPTANCE_OBJECT_TYPE, ACCEPTANCE_OBJECT_NAME, org.ccsds.moims.mo.com.activitytracking.structures.ActivityAcceptance.SHORT_FORM, false, null, true, null, true);
/**
* Literal for object EXECUTION.
*/
@org.ccsds.moims.mo.com.Proposed
public static final int _EXECUTION_OBJECT_NUMBER = 5;
/**
* Instance for object EXECUTION.
*/
@org.ccsds.moims.mo.com.Proposed
public static final org.ccsds.moims.mo.mal.structures.UShort EXECUTION_OBJECT_NUMBER = new org.ccsds.moims.mo.mal.structures.UShort(_EXECUTION_OBJECT_NUMBER);
/**
* Object name constant.
*/
@org.ccsds.moims.mo.com.Proposed
public static final org.ccsds.moims.mo.mal.structures.Identifier EXECUTION_OBJECT_NAME = new org.ccsds.moims.mo.mal.structures.Identifier("Execution");
/**
* Object type constant.
*/
@org.ccsds.moims.mo.com.Proposed
public static final org.ccsds.moims.mo.com.structures.ObjectType EXECUTION_OBJECT_TYPE = new org.ccsds.moims.mo.com.structures.ObjectType(org.ccsds.moims.mo.com.COMHelper.COM_AREA_NUMBER, ACTIVITYTRACKING_SERVICE_NUMBER, org.ccsds.moims.mo.com.COMHelper.COM_AREA_VERSION, EXECUTION_OBJECT_NUMBER);
/**
* Object instance.
*/
@org.ccsds.moims.mo.com.Proposed
public static org.ccsds.moims.mo.com.COMObject EXECUTION_OBJECT = new org.ccsds.moims.mo.com.COMObject(EXECUTION_OBJECT_TYPE, EXECUTION_OBJECT_NAME, org.ccsds.moims.mo.com.activitytracking.structures.ActivityExecution.SHORT_FORM, false, null, true, null, true);
/**
* 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
{
ACTIVITYTRACKING_SERVICE.addCOMObject(OPERATIONACTIVITY_OBJECT);
ACTIVITYTRACKING_SERVICE.addCOMObject(RELEASE_OBJECT);
ACTIVITYTRACKING_SERVICE.addCOMObject(RECEPTION_OBJECT);
ACTIVITYTRACKING_SERVICE.addCOMObject(FORWARD_OBJECT);
ACTIVITYTRACKING_SERVICE.addCOMObject(ACCEPTANCE_OBJECT);
ACTIVITYTRACKING_SERVICE.addCOMObject(EXECUTION_OBJECT);
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);
}
}