OneM2M_TypesAndValues.ttcn 5.06 KB
Newer Older
1 2 3 4 5 6 7 8
/**
 *  Copyright Notification
 *  No part of this document may be reproduced, in an electronic retrieval system or otherwise, except as authorized by written permission.
 *  The copyright and the foregoing restriction extend to reproduction in all media.
 *  © 2016, oneM2M Partners Type 1 (ARIB, ATIS, CCSA, ETSI, TIA, TSDSI, TTA, TTC).
 *  All rights reserved.
 *  
 *  @author     ETSI
9 10
 *  @version    $URL: https://oldforge.etsi.org/svn/oneM2M/branches/Release1/ttcn/LibOneM2M/OneM2M_TypesAndValues.ttcn $
 *              $Id: OneM2M_TypesAndValues.ttcn 347 2017-08-11 08:48:20Z reinaortega $
11 12 13 14 15 16 17
 *  @desc       Module containing types and values for oneM2M
 *
 */
module OneM2M_TypesAndValues {

	import from XSD all;

18
	/* Constants */	
19
	const XSD.String c_defaultResourceName := "MyResource";
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
	const XSD.String c_defaultGroupResourceName := "MyGroupResource";
	const XSD.String c_defaultAccessControlPolicyResourceName := "MyAccessControlPolicyResource";
	const XSD.String c_defaultScheduleResourceName := "MyScheduleResource";
	const XSD.String c_defaultPollingChannelResourceName := "MyPollingChannelResource";
	const XSD.String c_defaultSubscriptionResourceName := "MySubscriptionResource";
	const XSD.String c_defaultContentInstanceResourceName := "MyContentInstanceResource";
	const XSD.String c_defaultContainerResourceName := "MyContainerResource";
	const XSD.String c_defaultDeliveryResourceName := "MyDeliveryResource";
	const XSD.String c_defaultRemoteCSEResourceName := "MyRemoteCSEResource";
	const XSD.String c_defaultMgmtObjResourceName := "MyMgmtObjResource";
	const XSD.String c_defaultMgmtCmdResourceName := "MyMgmtCmdResource";
	const XSD.String c_defaultAeResourceName := "MyAeResource";
	const XSD.String c_defaultLocationPolicyResourceName := "MyLocationPolicyResource";
	const XSD.String c_defaultNodeResourceName := "MyNodeResource";
	const XSD.String c_defaultNodeID := "MyNodeId";
	const XSD.String c_defaultRequestResourceName := "MyRequestResource";
	const XSD.String c_defaultStatsConfigResourceName := "MyStatsConfigResource";
	const XSD.String c_defaultStatsCollectResourceName := "MyStatsCollectResource";
	const XSD.String c_defaultm2mServiceSubscriptionProfileResourceName := "Mym2mServiceSubscriptionProfileResource";
	const XSD.String c_defaultServiceSubscribedAppRuleResourceName := "MyServiceSubscribedAppRuleResource";
	const XSD.ID c_aeAuxName := "MyAe";
41
	const XSD.String c_defaultAE2Name := "MyAe2";
42
	const XSD.String c_acpAuxName := "MyAcp";
43
	const charstring c_invalid_location_update_period	:= "-PT30M10S" ;//duration set to invalid value  (minus value)
44 45 46
	const XSD.ID c_resourceShortNameLatest := "la";		//<latest>
	const XSD.ID c_resourceShortNameOldest := "ol";		//<oldest>
	const XSD.ID c_resourceShortNameFanOutPoint := "fopt"; //<fanOutPoint>
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110
	
	//AccessControlOperations
	const XSD.Integer c_C   := 1;
	const XSD.Integer c_R   := 2; 
	const XSD.Integer c_CR   := 3; 
	const XSD.Integer c_U   := 4; 
	const XSD.Integer c_CU   := 5; 
	const XSD.Integer c_RU   := 6; 
	const XSD.Integer c_CRU   := 7; 
	const XSD.Integer c_D   := 8;
	const XSD.Integer c_CD   := 9; 
	const XSD.Integer c_RD   := 10; 
	const XSD.Integer c_CRD   := 11; 
	const XSD.Integer c_UD   := 12; 
	const XSD.Integer c_CUD   := 13; 
	const XSD.Integer c_RUD   := 14; 
	const XSD.Integer c_CRUD   := 15; 
	const XSD.Integer c_N   := 16;
	const XSD.Integer c_CN   := 17; 
	const XSD.Integer c_RN   := 18; 
	const XSD.Integer c_CRN   := 19; 
	const XSD.Integer c_UN   := 20;
	const XSD.Integer c_CUN   := 21; 
	const XSD.Integer c_RUN   := 22; 
	const XSD.Integer c_CRUN   := 23; 
	const XSD.Integer c_DN   := 24;
	const XSD.Integer c_CDN   := 25; 
	const XSD.Integer c_RDN   := 26; 
	const XSD.Integer c_CRDN   := 27; 
	const XSD.Integer c_UDN   := 28;
	const XSD.Integer c_CUDN   := 29; 
	const XSD.Integer c_RUDN   := 30; 
	const XSD.Integer c_CRUDN   := 31; 
	const XSD.Integer c_Di   := 32;
	const XSD.Integer c_CDi   := 33; 
	const XSD.Integer c_RDi   := 34; 
	const XSD.Integer c_CRDi   := 35; 
	const XSD.Integer c_UDi   := 36;
	const XSD.Integer c_CUDi   := 37; 
	const XSD.Integer c_RUDi   := 38; 
	const XSD.Integer c_CRUDi   := 39; 
	const XSD.Integer c_DDi   := 40;
	const XSD.Integer c_CDDi   := 41; 
	const XSD.Integer c_RDDi   := 42; 
	const XSD.Integer c_CRDDi   := 43; 
	const XSD.Integer c_UDDi  := 44;
	const XSD.Integer c_CUDDi   := 45; 
	const XSD.Integer c_RUDDi   := 46; 
	const XSD.Integer c_CRUDDi   := 47; 
	const XSD.Integer c_NDi   := 48;
	const XSD.Integer c_CNDi   := 49; 
	const XSD.Integer c_RNDi   := 50; 
	const XSD.Integer c_CRNDi   := 51; 
	const XSD.Integer c_UNDi   := 52;
	const XSD.Integer c_CUNDi   := 53; 
	const XSD.Integer c_RUNDi   := 54; 
	const XSD.Integer c_CRUNDi   := 55; 
	const XSD.Integer c_DNDi   := 56;
	const XSD.Integer c_CDNDi   := 57; 
	const XSD.Integer c_RDNDi   := 58; 
	const XSD.Integer c_CRDNDi   := 59; 
	const XSD.Integer c_UDNDi   := 60;
	const XSD.Integer c_CUDNDi   := 61; 
	const XSD.Integer c_RUDNDi   := 62; 
111
	const XSD.Integer c_CRUDNDi   := 63;	
112 113 114
	
} 
// end of module