예제 #1
0
 def fset(self, value):
     # Mandatory argument
     if value == None:
         raise AssertionError("Argument axis is mantatory and can not be set to None")
     if not check_type(value, vector):
         self._axis = vector(value)
     else:
         self._axis = value
예제 #2
0
		def fset( self, value ):
		# Mandatory argument
			if value==None:
				raise AssertionError('Argument line_length is mantatory and can not be set to None')
			if not check_type(value,REAL):
				self._line_length = REAL(value)
			else:
				self._line_length = value
 def fset(self, value):
     if value != None:  # OPTIONAL attribute
         if not check_type(value, text):
             self._description = text(value)
         else:
             self._description = value
     else:
         self._description = value
예제 #4
0
 def fset(self, value):
     # Mandatory argument
     if value == None:
         raise AssertionError("Argument radius is mantatory and can not be set to None")
     if not check_type(value, REAL):
         self._radius = REAL(value)
     else:
         self._radius = value
 def fset(self, value):
     if value != None:  # OPTIONAL attribute
         if not check_type(value, label):
             self._postal_box = label(value)
         else:
             self._postal_box = value
     else:
         self._postal_box = value
 def fset(self, value):
     if value != None:  # OPTIONAL attribute
         if not check_type(value, label):
             self._electronic_mail_address = label(value)
         else:
             self._electronic_mail_address = value
     else:
         self._electronic_mail_address = value
예제 #7
0
		def fset( self, value ):
		# Mandatory argument
			if value==None:
				raise AssertionError('Argument representation_relation is mantatory and can not be set to None')
			if not check_type(value,shape_representation_relationship):
				self._representation_relation = shape_representation_relationship(value)
			else:
				self._representation_relation = value
예제 #8
0
		def fset( self, value ):
		# Mandatory argument
			if value==None:
				raise AssertionError('Argument base is mandatory and can not be set to None')
			if not check_type(value,datum_or_common_datum):
				self._base = datum_or_common_datum(value)
			else:
				self._base = value
예제 #9
0
		def fset( self, value ):
		# Mandatory argument
			if value==None:
				raise AssertionError('Argument context_of_items is mantatory and can not be set to None')
			if not check_type(value,representation_context):
				self._context_of_items = representation_context(value)
			else:
				self._context_of_items = value
예제 #10
0
		def fset( self, value ):
		# Mandatory argument
			if value==None:
				raise AssertionError('Argument definition is mantatory and can not be set to None')
			if not check_type(value,characterized_definition):
				self._definition = characterized_definition(value)
			else:
				self._definition = value
예제 #11
0
		def fset( self, value ):
		# Mandatory argument
			if value==None:
				raise AssertionError('Argument items is mantatory and can not be set to None')
			if not check_type(value,SET(1,None,'STRING', scope = schema_scope)):
				self._items = SET(value)
			else:
				self._items = value
예제 #12
0
		def fset( self, value ):
		# Mandatory argument
			if value==None:
				raise AssertionError('Argument rep_2 is mantatory and can not be set to None')
			if not check_type(value,representation):
				self._rep_2 = representation(value)
			else:
				self._rep_2 = value
예제 #13
0
 def fset(self, value):
     if value != None:  # OPTIONAL attribute
         if not check_type(value, identifier):
             self._id = identifier(value)
         else:
             self._id = value
     else:
         self._id = value
예제 #14
0
		def fset( self, value ):
		# Mandatory argument
			if value==None:
				raise AssertionError('Argument name is mandatory and can not be set to None')
			if not check_type(value,label):
				self._name = label(value)
			else:
				self._name = value
		def fset( self, value ):
		# Mandatory argument
			if value==None:
				raise AssertionError('Argument number_of_sides is mantatory and can not be set to None')
			if not check_type(value,INTEGER):
				self._number_of_sides = INTEGER(value)
			else:
				self._number_of_sides = value
예제 #16
0
		def fset( self, value ):
		# Mandatory argument
			if value==None:
				raise AssertionError('Argument of_shape is mandatory and can not be set to None')
			if not check_type(value,product_definition_shape):
				self._of_shape = product_definition_shape(value)
			else:
				self._of_shape = value
		def fset( self, value ):
		# Mandatory argument
			if value==None:
				raise AssertionError('Argument height is mantatory and can not be set to None')
			if not check_type(value,length_measure):
				self._height = length_measure(value)
			else:
				self._height = value
 def fset(self, value):
     if value != None:  # OPTIONAL attribute
         if not check_type(value, label):
             self._internal_location = label(value)
         else:
             self._internal_location = value
     else:
         self._internal_location = value
예제 #19
0
		def fset( self, value ):
		# Mandatory argument
			if value==None:
				raise AssertionError('Argument other_param is mantatory and can not be set to None')
			if not check_type(value,type3):
				self._other_param = type3(value)
			else:
				self._other_param = value
 def fset(self, value):
     if value != None:  # OPTIONAL attribute
         if not check_type(value, label):
             self._country = label(value)
         else:
             self._country = value
     else:
         self._country = value
예제 #21
0
 def fset(self, value):
     # Mandatory argument
     if value == None:
         raise AssertionError("Argument centre is mantatory and can not be set to None")
     if not check_type(value, point):
         self._centre = point(value)
     else:
         self._centre = value
 def fset(self, value):
     if value != None:  # OPTIONAL attribute
         if not check_type(value, label):
             self._telex_number = label(value)
         else:
             self._telex_number = value
     else:
         self._telex_number = value
		def fset( self, value ):
		# Mandatory argument
			if value==None:
				raise AssertionError('Argument arr_integer is mantatory and can not be set to None')
			if not check_type(value,ARRAY(1,None,'INTEGER')):
				self._arr_integer = ARRAY(value)
			else:
				self._arr_integer = value
		def fset( self, value ):
		# Mandatory argument
			if value==None:
				raise AssertionError('Argument width is mantatory and can not be set to None')
			if not check_type(value,REAL):
				self._width = REAL(value)
			else:
				self._width = value
		def fset( self, value ):
			if value != None: # OPTIONAL attribute
				if not check_type(value,label):
					self._electronic_mail_address = label(value)
				else:
					self._electronic_mail_address = value
			else:
				self._electronic_mail_address = value
예제 #26
0
		def fset( self, value ):
		# Mandatory argument
			if value==None:
				raise AssertionError('Argument coords is mantatory and can not be set to None')
			if not check_type(value,ARRAY(1,3,'REAL', scope = schema_scope)):
				self._coords = ARRAY(value)
			else:
				self._coords = value
예제 #27
0
		def fset( self, value ):
		# Mandatory argument
			if value==None:
				raise AssertionError('Argument composition is mandatory and can not be set to None')
			if not check_type(value,STRING):
				self._composition = STRING(value)
			else:
				self._composition = value
예제 #28
0
 def fset(self, value):
     if value != None:  # OPTIONAL attribute
         if not check_type(value, label):
             self._first_name = label(value)
         else:
             self._first_name = value
     else:
         self._first_name = value
예제 #29
0
		def fset( self, value ):
		# Mandatory argument
			if value==None:
				raise AssertionError('Argument height is mantatory and can not be set to None')
			if not check_type(value,length_measure):
				self._height = length_measure(value)
			else:
				self._height = value
		def fset( self, value ):
		# Mandatory argument
			if value==None:
				raise AssertionError('Argument arr_string is mantatory and can not be set to None')
			if not check_type(value,ARRAY(1,3,'STRING')):
				self._arr_string = ARRAY(value)
			else:
				self._arr_string = value
		def fset( self, value ):
			if value != None: # OPTIONAL attribute
				if not check_type(value,label):
					self._country = label(value)
				else:
					self._country = value
			else:
				self._country = value
예제 #32
0
		def fset( self, value ):
		# Mandatory argument
			if value==None:
				raise AssertionError('Argument coords is mantatory and can not be set to None')
			if not check_type(value,ARRAY(1,3,'REAL')):
				self._coords = ARRAY(value)
			else:
				self._coords = value
		def fset( self, value ):
		# Mandatory argument
			if value==None:
				raise AssertionError('Argument organizations is mantatory and can not be set to None')
			if not check_type(value,SET(1,None,'organization', scope = schema_scope)):
				self._organizations = SET(value)
			else:
				self._organizations = value
		def fset( self, value ):
			if value != None: # OPTIONAL attribute
				if not check_type(value,label):
					self._telex_number = label(value)
				else:
					self._telex_number = value
			else:
				self._telex_number = value
예제 #35
0
 def fset(self, value):
     # Mandatory argument
     if value == None:
         raise AssertionError("Argument coords is mantatory and can not be set to None")
     if not check_type(value, ARRAY(1, 3, "REAL", scope=schema_scope)):
         self._coords = ARRAY(value)
     else:
         self._coords = value
		def fset( self, value ):
		# Mandatory argument
			if value==None:
				raise AssertionError('Argument rotation is mandatory and can not be set to None')
			if not check_type(value,ARRAY(1,3,ARRAY(1,3,'REAL', scope = schema_scope))):
				self._rotation = ARRAY(value)
			else:
				self._rotation = value
		def fset( self, value ):
		# Mandatory argument
			if value==None:
				raise AssertionError('Argument personal_address_people is mantatory and can not be set to None')
			if not check_type(value,SET(1,1,'person', scope = schema_scope)):
				self._personal_address_people = SET(value)
			else:
				self._personal_address_people = value
		def fset( self, value ):
		# Mandatory argument
			if value==None:
				raise AssertionError('Argument id is mantatory and can not be set to None')
			if not check_type(value,identifier):
				self._id = identifier(value)
			else:
				self._id = value
		def fset( self, value ):
		# Mandatory argument
			if value==None:
				raise AssertionError('Argument name is mantatory and can not be set to None')
			if not check_type(value,label):
				self._name = label(value)
			else:
				self._name = value
		def fset( self, value ):
			if value != None: # OPTIONAL attribute
				if not check_type(value,text):
					self._description = text(value)
				else:
					self._description = value
			else:
				self._description = value
		def fset( self, value ):
			if value != None: # OPTIONAL attribute
				if not check_type(value,LIST(1,None,'STRING', scope = schema_scope)):
					self._suffix_titles = LIST(value)
				else:
					self._suffix_titles = value
			else:
				self._suffix_titles = value
		def fset( self, value ):
			if value != None: # OPTIONAL attribute
				if not check_type(value,identifier):
					self._id = identifier(value)
				else:
					self._id = value
			else:
				self._id = value
예제 #43
0
		def fset( self, value ):
		# Mandatory argument
			if value==None:
				raise AssertionError('Argument using is mantatory and can not be set to None')
			if not check_type(value,attachment_method):
				self._using = attachment_method(value)
			else:
				self._using = value
		def fset( self, value ):
			if value != None: # OPTIONAL attribute
				if not check_type(value,label):
					self._first_name = label(value)
				else:
					self._first_name = value
			else:
				self._first_name = value
		def fset( self, value ):
			if value != None: # OPTIONAL attribute
				if not check_type(value,label):
					self._internal_location = label(value)
				else:
					self._internal_location = value
			else:
				self._internal_location = value
		def fset( self, value ):
		# Mandatory argument
			if value==None:
				raise AssertionError('Argument item_name is mantatory and can not be set to None')
			if not check_type(value,STRING):
				self._item_name = STRING(value)
			else:
				self._item_name = value
		def fset( self, value ):
			if value != None: # OPTIONAL attribute
				if not check_type(value,label):
					self._postal_box = label(value)
				else:
					self._postal_box = value
			else:
				self._postal_box = value
		def fset( self, value ):
		# Mandatory argument
			if value==None:
				raise AssertionError('Argument number_of_sides is mantatory and can not be set to None')
			if not check_type(value,INTEGER):
				self._number_of_sides = INTEGER(value)
			else:
				self._number_of_sides = value
예제 #49
0
 def fset(self, value):
     # Mandatory argument
     if value == None:
         raise AssertionError(
             'Argument using is mantatory and can not be set to None')
     if not check_type(value, attachment_method):
         self._using = attachment_method(value)
     else:
         self._using = value
 def fset(self, value):
     if value != None:  # OPTIONAL attribute
         if not check_type(value,
                           LIST(1, None, 'STRING', scope=schema_scope)):
             self._suffix_titles = LIST(value)
         else:
             self._suffix_titles = value
     else:
         self._suffix_titles = value
예제 #51
0
 def fset(self, value):
     # Mandatory argument
     if value == None:
         raise AssertionError(
             'Argument people is mantatory and can not be set to None')
     if not check_type(value, SET(1, None, 'person')):
         self._people = SET(value)
     else:
         self._people = value
예제 #52
0
 def fset(self, value):
     # Mandatory argument
     if value == None:
         raise AssertionError(
             'Argument on is mantatory and can not be set to None')
     if not check_type(value, STRING):
         self._on = STRING(value)
     else:
         self._on = value
예제 #53
0
 def fset(self, value):
     # Mandatory argument
     if value == None:
         raise AssertionError(
             'Argument radius is mandatory and can not be set to None')
     if not check_type(value, REAL):
         self._radius = REAL(value)
     else:
         self._radius = value
예제 #54
0
 def fset(self, value):
     # Mandatory argument
     if value == None:
         raise AssertionError(
             'Argument centre is mandatory and can not be set to None')
     if not check_type(value, point):
         self._centre = point(value)
     else:
         self._centre = value
예제 #55
0
 def fset(self, value):
     # Mandatory argument
     if value == None:
         raise AssertionError(
             'Argument axis is mandatory and can not be set to None')
     if not check_type(value, vector):
         self._axis = vector(value)
     else:
         self._axis = value
 def fset(self, value):
     # Mandatory argument
     if value == None:
         raise AssertionError(
             'Argument id is mandatory and can not be set to None')
     if not check_type(value, identifier):
         self._id = identifier(value)
     else:
         self._id = value
 def fset(self, value):
     # Mandatory argument
     if value == None:
         raise AssertionError(
             'Argument personal_address_people is mandatory and can not be set to None'
         )
     if not check_type(value, SET(1, 1, 'person', scope=schema_scope)):
         self._personal_address_people = SET(value)
     else:
         self._personal_address_people = value
예제 #58
0
 def fset(self, value):
     # Mandatory argument
     if value == None:
         raise AssertionError(
             'Argument organizational_address_organizations is mantatory and can not be set to None'
         )
     if not check_type(value, SET(1, 1, 'organization')):
         self._organizational_address_organizations = SET(value)
     else:
         self._organizational_address_organizations = value