def _add_schema_entry(model_type, name, add_entry):
 (schema_type, entity_meaning) = _GetSchemaEntryForPropertyType(model_type)
 if (not schema_type):
  return
 entry = add_entry()
 entry.set_name(name)
 entry.set_type(schema_type)
 if entity_meaning:
  entry.set_meaning(entity_meaning)

def _add_schema_entry ( model_type , name , add_entry ) : ( schema_type , entity_meaning ) = _GetSchemaEntryForPropertyType ( model_type ) if ( not schema_type ) : return entry = add_entry ( ) entry . set_name ( name ) entry . set_type ( schema_type ) if entity_meaning : entry . set_meaning ( entity_meaning )
add single entry to schemaentries by invoking add_entry .