OneM2M_Pics.ttcn 5.08 KB
Newer Older
1
/** 
2 3 4 5 6 7
 *  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.
 *  
8
 *  @author     oneM2M/ETSI
9 10 11 12 13 14 15 16 17 18
 *  @desc       Module containing Pixits for oneM2M
 *
 */
module OneM2M_Pics {

	/**
	 * @desc AccessControlPolicy resource support 
	 * @see  oneM2M TS-0017 A.5.5.1/1
	 */
	modulepar boolean PICS_ACP_SUPPORT := true;
Miguel Angel Reina Ortega's avatar
Fix #41  
Miguel Angel Reina Ortega committed
19 20 21 22 23

	/**
	 * @desc Node role 
	 * @see  oneM2M TS-0017 A.5.1.2
	 */
24
	modulepar boolean PICS_IN_CSE := true;
25 26
	modulepar boolean PICS_MN_CSE := true;
	modulepar boolean PICS_ASN_CSE := true;		
Miguel Angel Reina Ortega's avatar
Fix #41  
Miguel Angel Reina Ortega committed
27 28 29 30 31
	
	/**
	 * @desc Resource Addressing methods 
	 * @see  oneM2M TS-0017 A.5.2.1
	 */
32 33
	modulepar boolean PICS_UNSTRUCTURED_CSE_RELATIVE_RESOURCE_ID_FORMAT := true;
	modulepar boolean PICS_STRUCTURED_CSE_RELATIVE_RESOURCE_ID_FORMAT := true;
34 35 36 37
	modulepar boolean PICS_PRIMITIVE_SCOPE_CSE_RELATIVE := true;
	modulepar boolean PICS_PRIMITIVE_SCOPE_SP_RELATIVE := true;
	modulepar boolean PICS_PRIMITIVE_SCOPE_ABSOLUTE := true;
	
38
	group ResourceOptionalAttributes {
Miguel Angel Reina Ortega's avatar
Fix #41  
Miguel Angel Reina Ortega committed
39 40 41 42
		/**
		 * @desc Optional attributes of AccessControlPolicy resource 
		 * @see  oneM2M TS-0017 A.5.7.4
		 */
43 44 45 46
		group AccessControlPolicyOptionalAttributes {	
			modulepar boolean PICS_ACP_LBL := true;
			modulepar boolean PICS_ACP_AT := true;
		}
Miguel Angel Reina Ortega's avatar
Fix #41  
Miguel Angel Reina Ortega committed
47 48 49 50
		/**
		 * @desc Optional attributes of AE resource 
		 * @see  oneM2M TS-0017 A.5.7.3
		 */
51 52 53 54 55 56 57 58 59
		group AeOptionalAttributes {
			modulepar boolean PICS_AE_LBL := true;
			modulepar boolean PICS_AE_APN := true;
			modulepar boolean PICS_AE_POA := true;
			modulepar boolean PICS_AE_NL := true;
			modulepar boolean PICS_AE_CSZ := true;
			modulepar boolean PICS_AE_OR := true;
			modulepar boolean PICS_AE_ACPI := true;
		}
Miguel Angel Reina Ortega's avatar
Fix #41  
Miguel Angel Reina Ortega committed
60 61 62 63 64
		/**
		 * @desc Optional attributes of Container resource 
		 * @see  oneM2M TS-0017 A.5.7.5
		 */
		 group ContainerOptionalAttributes {
65 66 67 68 69 70 71 72 73 74 75
			modulepar boolean PICS_CNT_ACPI := true;
			modulepar boolean PICS_CNT_MNI := true;
			modulepar boolean PICS_CNT_MBS := true;
			modulepar boolean PICS_CNT_MIA := true;
			modulepar boolean PICS_CNT_OR := true;
			modulepar boolean PICS_CNT_LI := true;
			modulepar boolean PICS_CNT_RN := true;
			modulepar boolean PICS_CNT_ET := true;
			modulepar boolean PICS_CNT_LBL := true;
			modulepar boolean PICS_CNT_CR := true;
		}
Miguel Angel Reina Ortega's avatar
Fix #41  
Miguel Angel Reina Ortega committed
76 77 78 79
		/**
		 * @desc Optional attributes of ContentInstance resource 
		 * @see  oneM2M TS-0017 A.5.7.6
		 */
80 81 82 83 84 85 86 87
		group ContentInstanceOptionalAttributes {
			modulepar boolean PICS_CIN_CNF := true;
			modulepar boolean PICS_CIN_RN := true;
			modulepar boolean PICS_CIN_ET := true;
			modulepar boolean PICS_CIN_LBL := true;
			modulepar boolean PICS_CIN_CR := true;
			modulepar boolean PICS_CIN_OR := true;	
		}
Miguel Angel Reina Ortega's avatar
Fix #41  
Miguel Angel Reina Ortega committed
88 89 90 91
		/**
		 * @desc Optional attributes of CSEBase resource 
		 * @see  oneM2M TS-0017 A.5.7.1
		 */
92 93 94 95
		group CSEBaseOptionalAttributes {
		    modulepar boolean PICS_CB_CST := true;
		    modulepar boolean PICS_CB_NL := true;
		}
Miguel Angel Reina Ortega's avatar
Fix #41  
Miguel Angel Reina Ortega committed
96 97 98 99
		/**
		 * @desc Optional attributes of group resource 
		 * @see  oneM2M TS-0017 A.5.7.8
		 */
Miguel Angel Reina Ortega's avatar
Miguel Angel Reina Ortega committed
100
		group GroupOptionalAttributes {
101 102 103 104 105
			modulepar boolean PICS_GRP_LBL := true;
			modulepar boolean PICS_GRP_GN := true;
			modulepar boolean PICS_GRP_ACPI := true;
			modulepar boolean PICS_GRP_MACP := true;
		}
Miguel Angel Reina Ortega's avatar
Fix #41  
Miguel Angel Reina Ortega committed
106 107 108 109
		/**
		 * @desc Optional attributes of remoteCSE resource 
		 * @see  oneM2M TS-0017 A.5.7.2
		 */
110 111 112 113 114 115 116 117 118
		group RemoteCSEOptionalAttributes {
			modulepar boolean PICS_CSR_LBL := true;
			modulepar boolean PICS_CSR_CST := true;
			modulepar boolean PICS_CSR_POA := true;
			modulepar boolean PICS_CSR_NL := true;
			modulepar boolean PICS_CSR_RN := true;
			modulepar boolean PICS_CSR_ET := true;
			modulepar boolean PICS_CSR_RR := true;
		}
Miguel Angel Reina Ortega's avatar
Fix #41  
Miguel Angel Reina Ortega committed
119 120 121 122
		/**
		 * @desc Optional attributes of AE resource 
		 * @see  oneM2M TS-0017 A.5.7.7
		 */
123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140
		group SubscriptionOptionalAttributes {
			modulepar boolean PICS_SUB_ACPI := true;
			modulepar boolean PICS_SUB_ENC := true;
			modulepar boolean PICS_SUB_EXC := true;
			modulepar boolean PICS_SUB_NFU := true;
			modulepar boolean PICS_SUB_NCT := true;
			modulepar boolean PICS_SUB_NEC := true;
			modulepar boolean PICS_SUB_SU := true;
			modulepar boolean PICS_SUB_LBL := true;
			modulepar boolean PICS_SUB_GPI := true;
			modulepar boolean PICS_SUB_BN := true;
			modulepar boolean PICS_SUB_RL := true;
			modulepar boolean PICS_SUB_PN := true;
			modulepar boolean PICS_SUB_NSP := true;
			modulepar boolean PICS_SUB_LN := true;
			modulepar boolean PICS_SUB_PSN := true;
			modulepar boolean PICS_SUB_CR := true;
		}
141 142
		
		/**
143 144
		 * @desc Requests handling
		 * @see  oneM2M TS-0017 A.5.4-1
145 146
		 */
		group NonBlocking {
147 148 149
			modulepar boolean PICS_BLOCKING_REQUEST := true;	
			modulepar boolean PICS_NON_BLOCKING_REQUEST_SYNCH := true;	
			modulepar boolean PICS_NON_BLOCKING_REQUEST_ASYNCH := true;
150
		}
151 152 153 154 155 156 157 158
		
		/**
		 * @desc Subscription capabilities
		 * @see  oneM2M TS-0017 A.5.4-1
		 */
		group Subscription_capabilities{
			modulepar boolean PICS_SUBSCRIPTION_VERIFICATION := true;	
		}
159
	}
160 161
	
}  // end of module